public class QueuedSocket
extends java.net.Socket
| Modifier and Type | Class and Description |
|---|---|
protected static class |
QueuedSocket.QueuedSocketImpl |
| Modifier and Type | Field and Description |
|---|---|
protected java.io.InputStream |
in |
protected java.io.OutputStream |
out |
| Constructor and Description |
|---|
QueuedSocket(QueuedStream quIn,
QueuedStream quOut)
Sets up a
QueuedSocket from the two pipes |
| Modifier and Type | Method and Description |
|---|---|
int |
read()
Read a byte that was sent from this socket's
OutputStream |
void |
write(int b)
Write a byte to the socket's buffer, which will appear in its
InputStream |
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, 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 QueuedSocket(QueuedStream quIn, QueuedStream quOut) throws java.net.SocketException
QueuedSocket from the two pipesjava.net.SocketExceptionpublic void write(int b)
throws java.io.IOException
InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
OutputStreamjava.io.IOException