public class TCPConnection extends Object
TCPListener.| Constructor and Description |
|---|
TCPConnection(TCPListener newListener,
Socket newSocket) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInput() |
TCPListener |
getListener() |
OutputStream |
getOutput() |
String |
getRemoteAddr() |
String |
getRemoteHost() |
String |
getServerName() |
int |
getServerPort() |
Socket |
getSocket() |
void |
start() |
void |
stop() |
public TCPConnection(TCPListener newListener, Socket newSocket)
public InputStream getInput()
public TCPListener getListener()
public OutputStream getOutput()
public String getRemoteAddr()
public String getRemoteHost()
public String getServerName()
public int getServerPort()
public Socket getSocket()
public void start()
throws SocketException,
IOException
SocketExceptionIOExceptionpublic void stop()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.