com.infoscape.proteus
Interface Conversational

All Known Subinterfaces:
Listener, Speaker

public interface Conversational

Interface for sources and sinks that support request/reply semantics.


Method Summary
 java.lang.Object getCorrelationID()
          This method returns a correlation id, which is an object used to associate a response with its request.
 void setCorrelationID(java.lang.Object o)
          This method sets a correlation id.
 

Method Detail

getCorrelationID

public java.lang.Object getCorrelationID()
This method returns a correlation id, which is an object used to associate a response with its request. The id returned is that associated with the last incoming message.


setCorrelationID

public void setCorrelationID(java.lang.Object o)
This method sets a correlation id. The id will be associated with the next outgoing message.

Parameters:
o -