org.jlab.coda.cMsg.cMsgDomain.client
Class cMsgSendAndGetCallbackThread

java.lang.Object
  extended by org.jlab.coda.cMsg.cMsgDomain.client.cMsgSendAndGetCallbackThread
All Implemented Interfaces:
java.util.concurrent.Callable

public class cMsgSendAndGetCallbackThread
extends java.lang.Object
implements java.util.concurrent.Callable

This class is a callback-running thread to be used with the enterprise-level implementation of sendAndGet.


Method Summary
 java.lang.Boolean call()
          This method is executed as a thread which runs the callback method
 void sendMessage(cMsgMessageFull message)
          Put message on a cue waiting to be taken by the callback.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sendMessage

public void sendMessage(cMsgMessageFull message)
Put message on a cue waiting to be taken by the callback.

Parameters:
message - message to be passed to callback

call

public java.lang.Boolean call()
This method is executed as a thread which runs the callback method

Specified by:
call in interface java.util.concurrent.Callable