| Constructor and Description |
|---|
TCPListener(int port) |
| Modifier and Type | Method and Description |
|---|---|
TCPConnection |
createConnection(Socket socket) |
Thread |
getListenerThread() |
String |
getName() |
int |
getPort() |
void |
handleConnection(TCPConnection c) |
void |
handleConnectionThreaded(TCPConnection c) |
void |
handleException(Exception e) |
void |
run() |
void |
setPort(int newPort) |
void |
start() |
void |
stop() |
public TCPConnection createConnection(Socket socket)
public Thread getListenerThread()
public String getName()
public int getPort()
public void handleConnection(TCPConnection c)
public void handleConnectionThreaded(TCPConnection c)
public void handleException(Exception e)
public void setPort(int newPort)
public void start()
throws IOException
IOExceptionpublic void stop()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.