12345678910111213141516171819202122232425262728293031323334 |
- /*
- * 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.model;
-
- import java.io.IOException;
-
- /**
- *
- * @author Gerhard
- */
- public class Transmitter
- {
- Server server;
- Client client;
-
- public Transmitter()
- {
-
- }
-
- public void createServer(int port) throws IOException
- {
- server = new Server(port);
- }
-
- public void createClient(int port, String ip) throws IOException
- {
- client = new Client(port, ip);
- }
- }
|