|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.icatch.msg.ReceiveListener
public class ReceiveListener
A listener implementation for synchronous receives.
| Constructor Summary | |
|---|---|
ReceiveListener(Transport t,
String target,
long timeout)
Create a new one. |
|
| Method Summary | |
|---|---|
TransactionMessage |
getMessage()
Get the reply. |
boolean |
messageReceived(TransactionMessage msg,
Transport t)
The callback method, called by the transport when a message is received for this listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReceiveListener(Transport t,
String target,
long timeout)
target - The target URI that the incoming message must match.timeout - The timeout in millis.| Method Detail |
|---|
public boolean messageReceived(TransactionMessage msg,
Transport t)
MessageListener
messageReceived in interface MessageListenermsg - The message that was received.
MessageListenerpublic TransactionMessage getMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||