站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

SocketMultiplexor (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq.il.uil.multiplexor
Class SocketMultiplexor

java.lang.Object
  extended byorg.jboss.mq.il.uil.multiplexor.SocketMultiplexor

public class SocketMultiplexor
extends Object

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.

Version:
$Revision: 1.2 $
Author:
Hiram Chirino (Cojonudo14@hotmail.com)

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

SocketMultiplexor

public SocketMultiplexor(Socket s)
                  throws IOException
Method Detail

getDemux

public StreamDemux getDemux()
Creation date: (11/16/00 1:15:01 PM)

Returns:
org.jboss.mq.connection.StreamDemux

getInputStream

public InputStream getInputStream(int id)
                           throws IOException
Throws:
IOException

getMux

public StreamMux getMux()
Creation date: (11/16/00 1:15:01 PM)

Returns:
org.jboss.mq.connection.StreamMux

getOutputStream

public OutputStream getOutputStream(int id)
                             throws IOException
Throws:
IOException

getSocket

public Socket getSocket()
Creation date: (11/16/00 1:14:41 PM)

Returns:
java.net.Socket

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.