@@ -0,0 +1,26 @@ | |||
/* | |||
* To change this license header, choose License Headers in Project Properties. | |||
* To change this template file, choose Tools | Templates | |||
* and open the template in the editor. | |||
*/ | |||
package chatprogramm.controller; | |||
import chatprogramm.model.Transmitter; | |||
import chatprogramm.view.ChatView; | |||
/** | |||
* | |||
* @author Gerhard | |||
*/ | |||
public class ConnectController | |||
{ | |||
private ChatView view; | |||
private Transmitter model; | |||
public ConnectController(ChatView view, Transmitter model) | |||
{ | |||
this.view = view; | |||
this.model = model; | |||
} | |||
} |
@@ -0,0 +1,33 @@ | |||
/* | |||
* To change this license header, choose License Headers in Project Properties. | |||
* To change this template file, choose Tools | Templates | |||
* and open the template in the editor. | |||
*/ | |||
package chatprogramm.controller; | |||
import chatprogramm.model.Transmitter; | |||
import chatprogramm.view.ChatView; | |||
import java.util.Observable; | |||
import java.util.Observer; | |||
/** | |||
* | |||
* @author Gerhard | |||
*/ | |||
public class ReceiveAdapterController implements Observer | |||
{ | |||
private ChatView view; | |||
private Transmitter model; | |||
public ReceiveAdapterController(ChatView view, Transmitter model) | |||
{ | |||
this.view = view; | |||
this.model = model; | |||
} | |||
@Override | |||
public void update(Observable o, Object arg) | |||
{ | |||
} | |||
} |
@@ -0,0 +1,26 @@ | |||
/* | |||
* To change this license header, choose License Headers in Project Properties. | |||
* To change this template file, choose Tools | Templates | |||
* and open the template in the editor. | |||
*/ | |||
package chatprogramm.controller; | |||
import chatprogramm.model.Transmitter; | |||
import chatprogramm.view.ChatView; | |||
/** | |||
* | |||
* @author Gerhard | |||
*/ | |||
public class SendController | |||
{ | |||
private ChatView view; | |||
private Transmitter model; | |||
public SendController(ChatView view, Transmitter model) | |||
{ | |||
this.view = view; | |||
this.model = model; | |||
} | |||
} |