|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mq.il.uil.multiplexor.SocketMultiplexor
Used to multiplex a socket's streams. With this this interface you can access the multiplexed streams of the socket. The multiplexed streams are identifed a stream id. Stream id 0 is reserved for internal use of the multiplexor.
Constructor Summary | |
SocketMultiplexor(Socket s)
|
Method Summary | |
void |
close()
|
StreamDemux |
getDemux()
Creation date: (11/16/00 1:15:01 PM) |
InputStream |
getInputStream(int id)
|
StreamMux |
getMux()
Creation date: (11/16/00 1:15:01 PM) |
OutputStream |
getOutputStream(int id)
|
Socket |
getSocket()
Creation date: (11/16/00 1:14:41 PM) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SocketMultiplexor(Socket s) throws IOException
Method Detail |
public StreamDemux getDemux()
public InputStream getInputStream(int id) throws IOException
IOException
public StreamMux getMux()
public OutputStream getOutputStream(int id) throws IOException
IOException
public Socket getSocket()
public void close() throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |