Joram 5.2.5

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

java.lang.Object
  extended by org.objectweb.joram.client.jms.connection.RequestMultiplexer

public class RequestMultiplexer
extends java.lang.Object


Field Summary
 java.util.Hashtable requestsTable
           
 
Constructor Summary
RequestMultiplexer(Connection cnx, RequestChannel channel, long heartBeat)
           
 
Method Summary
 void abortRequest(int requestId)
          Not synchronized because it would possibly deadlock with some reply listeners (actually requestors).
 void cleanup()
          Used by: 1- close() 2- the connector layer (OutboundConnection.cleanup())
 void close()
          Not synchronized because it would possibly deadlock with some reply listeners (actually requestors).
 void closing()
           
 void deny(ConsumerMessages messages)
           
 java.lang.String getDemultiplexerDaemonName()
           
 javax.jms.ExceptionListener getExceptionListener()
           
 boolean isClosed()
           
 void schedule(java.util.TimerTask task, long period)
           
 void sendRequest(AbstractJmsRequest request)
           
 void sendRequest(AbstractJmsRequest request, ReplyListener listener)
           
 void setDemultiplexerDaemonName(java.lang.String name)
           
 void setExceptionListener(javax.jms.ExceptionListener exceptionListener)
           
 void setMultiThreadSync(int delay, int threshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestsTable

public java.util.Hashtable requestsTable
Constructor Detail

RequestMultiplexer

public RequestMultiplexer(Connection cnx,
                          RequestChannel channel,
                          long heartBeat)
                   throws javax.jms.JMSException
Throws:
javax.jms.JMSException
Method Detail

isClosed

public boolean isClosed()

closing

public void closing()

setExceptionListener

public void setExceptionListener(javax.jms.ExceptionListener exceptionListener)

getExceptionListener

public javax.jms.ExceptionListener getExceptionListener()

sendRequest

public void sendRequest(AbstractJmsRequest request)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

sendRequest

public void sendRequest(AbstractJmsRequest request,
                        ReplyListener listener)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setMultiThreadSync

public void setMultiThreadSync(int delay,
                               int threshold)

close

public void close()
Not synchronized because it would possibly deadlock with some reply listeners (actually requestors).


cleanup

public void cleanup()
Used by: 1- close() 2- the connector layer (OutboundConnection.cleanup())


abortRequest

public void abortRequest(int requestId)
Not synchronized because it would possibly deadlock with some reply listeners (actually requestors).


deny

public void deny(ConsumerMessages messages)

schedule

public void schedule(java.util.TimerTask task,
                     long period)

setDemultiplexerDaemonName

public void setDemultiplexerDaemonName(java.lang.String name)

getDemultiplexerDaemonName

public java.lang.String getDemultiplexerDaemonName()

Joram 5.2.5

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved