org.objectweb.joram.client.jms
Class MultiSessionConsumer.MessageDispatcher

java.lang.Object
  extended by fr.dyade.aaa.common.Daemon
      extended by org.objectweb.joram.client.jms.MultiSessionConsumer.MessageDispatcher
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MultiSessionConsumer

 class MultiSessionConsumer.MessageDispatcher
extends Daemon


Field Summary
 
Fields inherited from class fr.dyade.aaa.common.Daemon
canStop, group, logmon, priority, running, thread
 
Constructor Summary
MultiSessionConsumer.MessageDispatcher(java.lang.String name)
           
 
Method Summary
protected  void close()
          Releases any resources attached to this daemon.
 void run()
           
protected  void shutdown()
          Interrupts a thread that waits for long periods.
 void stop()
          Enables the daemon to stop itself.
 
Methods inherited from class fr.dyade.aaa.common.Daemon
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiSessionConsumer.MessageDispatcher

MultiSessionConsumer.MessageDispatcher(java.lang.String name)
Method Detail

close

protected void close()
Description copied from class: Daemon
Releases any resources attached to this daemon. Be careful, its method should be called more than one time.

Specified by:
close in class Daemon

shutdown

protected void shutdown()
Description copied from class: Daemon
Interrupts a thread that waits for long periods. In some cases, we must use application specific tricks. For example, if a thread is waiting on a known socket, we have to close the socket to cause the thread to return immediately. Unfortunately, there really isn't any technique that works in general.

Specified by:
shutdown in class Daemon

stop

public void stop()
Enables the daemon to stop itself.

Overrides:
stop in class Daemon

run

public void run()


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.