com.infoscape.proteus
Interface Listener

All Superinterfaces:
Conversational, MessageHandler, MessageSource, Transactional

public interface Listener
extends Conversational, MessageSource

Interface for Sources that support request/reply semantics.


Method Summary
 java.lang.Object getReply(java.lang.Object correlationID)
           
 java.lang.Object getReplyDest()
          This method returns the destination object associated with the last incoming request.
 java.lang.Object getRequest()
           
 
Methods inherited from interface com.infoscape.proteus.Conversational
getCorrelationID, setCorrelationID
 
Methods inherited from interface com.infoscape.proteus.MessageSource
getMessage
 
Methods inherited from interface com.infoscape.proteus.MessageHandler
disconnect, getConnection, reconnect
 
Methods inherited from interface com.infoscape.proteus.Transactional
commit, rollback, setSyncPoint
 

Method Detail

getRequest

public java.lang.Object getRequest()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getReplyDest

public java.lang.Object getReplyDest()
                              throws java.lang.Exception
This method returns the destination object associated with the last incoming request.

Throws:
java.lang.Exception

getReply

public java.lang.Object getReply(java.lang.Object correlationID)
                          throws java.lang.Exception
Parameters:
correlationID -
Throws:
java.lang.Exception