public class SimulatedSocket extends Socket
| Constructor and Description |
|---|
SimulatedSocket(StreamManager streamManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(SocketAddress endpoint) |
void |
connect(SocketAddress endpoint,
int timeout) |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
bind, close, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toStringpublic SimulatedSocket(StreamManager streamManager)
public void connect(SocketAddress endpoint) throws IOException
connect in class SocketIOExceptionpublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect in class SocketIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in class SocketIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in class SocketIOExceptionCopyright © 2016. All Rights Reserved.