当前页面:
在线文档首页 >
JBoss 3.2.7 messaging API Documentation 英文版文档
MultiplexorTest (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档
org.jboss.mq.il.uil.multiplexor
Class MultiplexorTest
java.lang.Object
org.jboss.mq.il.uil.multiplexor.MultiplexorTest
- public class MultiplexorTest
- extends Object
This class is a unit tester of the StreamMux and StreamDemux classes. Starts
3 concurent readers and 3 concurent writers using 3 fully buffered object
streams multiplexed over a single Pipe(Input/Output)Stream. The writers send
a 10K message with a timestamp. Readers display how long the message took to
arrive.
- Version:
- $Revision: 1.2 $
- Author:
- Hiram Chirino (Cojonudo14@hotmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAY_LOAD_SIZE
public static final int PAY_LOAD_SIZE
- See Also:
- Constant Field Values
PAY_LOAD
public static char[] PAY_LOAD
MultiplexorTest
public MultiplexorTest()
- MuxDemuxTester constructor
connect
public void connect()
throws IOException
- Throws:
IOException
startStream
public void startStream(short id)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.