public class TcpClient
extends java.lang.Object
Constructor and Description |
---|
TcpClient(java.net.Socket s) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.io.InputStream |
getInputStream() |
EndPoint |
getLocalEndPoint() |
java.io.OutputStream |
getOutputStream() |
EndPoint |
getRemoteEndPoint() |
boolean |
isConnected() |
boolean |
isDataAvailable()
Method not implemented, always returns true
|
public java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public boolean isConnected()
public EndPoint getRemoteEndPoint()
public boolean isDataAvailable()
public void close() throws java.io.IOException
java.io.IOException
public EndPoint getLocalEndPoint()