Joram 5.0.7

org.objectweb.joram.client.jms.connection
Class MultiThreadSyncChannel

java.lang.Object
  extended by org.objectweb.joram.client.jms.connection.MultiThreadSyncChannel
All Implemented Interfaces:
RequestChannel

public class MultiThreadSyncChannel
extends java.lang.Object
implements RequestChannel

Class wrapping the RequestChannel in order to group the requests. It allows best performances with multiples senders.


Method Summary
 void close()
           
 void connect()
           
 AbstractJmsReply receive()
           
 void send(AbstractJmsRequest request)
           
 void setTimer(java.util.Timer timer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

send

public void send(AbstractJmsRequest request)
          throws java.lang.Exception
Specified by:
send in interface RequestChannel
Throws:
java.lang.Exception

setTimer

public void setTimer(java.util.Timer timer)
Specified by:
setTimer in interface RequestChannel

connect

public void connect()
             throws java.lang.Exception
Specified by:
connect in interface RequestChannel
Throws:
java.lang.Exception

receive

public AbstractJmsReply receive()
                         throws java.lang.Exception
Specified by:
receive in interface RequestChannel
Throws:
java.lang.Exception

close

public void close()
Specified by:
close in interface RequestChannel

Joram 5.0.7

Copyright © 2005 Scalagent - All rights reserved