|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.conversation.base.BasicConversationMetaData
Class BasicConversationMetaData is a straightforward, vanilla Java implementation of the ConversationMetaData interface.
Fields inherited from interface com.ibm.conversation.ConversationMetaData |
---|
CLOSED, HALF_OPEN, OPEN |
Constructor Summary | |
---|---|
BasicConversationMetaData()
Constructs a BasicConversationMetaData object. |
Method Summary | |
---|---|
int |
getConnectionStatus()
Returns the current connection status: one of CLOSED, HALF_OPEN, OPEN. |
java.lang.String |
getPartnerConversationId()
Returns the conversation ID assigned to this conversation by the other participant (i.e., the agent that does not own this ConversationMetaData object). |
java.lang.String |
getPartnerEndpointUri()
Returns the URI for the other agent's message-delivery endpoint. |
java.lang.String |
getSelfConversationId()
Returns the conversation ID assigned to this conversation by the agent that owns this ConvesationMetaData object. |
java.lang.String |
getSelfEndpointUri()
Returns the URI for the this agent's message-delivery endpoint. |
void |
setConnectionStatus(int newStatus)
Sets the current connection status: must be one of CLOSED, HALF_OPEN, OPEN. |
void |
setPartnerConversationId(java.lang.String newId)
Sets the conversation ID assigned to this conversation by the other participant (i.e, the agent that does not own this ConvesationMetaData object). |
void |
setPartnerEndpointUri(java.lang.String newUri)
Sets the URI for the other agent's message-delivery endpoint. |
void |
setSelfConversationId(java.lang.String newId)
Sets the conversation ID assigned to this conversation by the agent that owns this ConvesationMetaData object. |
void |
setSelfEndpointUri(java.lang.String newUri)
Sets the URI for the this agent's message-delivery endpoint. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicConversationMetaData()
Method Detail |
public int getConnectionStatus()
ConversationMetaData
getConnectionStatus
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
public void setConnectionStatus(int newStatus)
ConversationMetaData
setConnectionStatus
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
The
- new connection status.public java.lang.String getSelfConversationId()
ConversationMetaData
If no ID has been assigned (i.e., if the conversation is just being set up), this may be null.
getSelfConversationId
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
public void setSelfConversationId(java.lang.String newId)
ConversationMetaData
This method is called by the ConversationManager during conversation setup. Users should never call it.
setSelfConversationId
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
newId
- The conversation ID of the agent owning this meta-data object.public java.lang.String getSelfEndpointUri()
ConversationMetaData
The URI may be unique to this conversation, or may be shared among multiple conversations.
getSelfEndpointUri
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
public void setSelfEndpointUri(java.lang.String newUri)
ConversationMetaData
This method is called during conversation setup. Afterward, users should never call it.
The URI may be unique to this conversation, or may be shared among multiple conversations.
setSelfEndpointUri
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
newUri
- The URI for this agent's message-delivery endpoint.public java.lang.String getPartnerConversationId()
ConversationMetaData
If no ID has been assigned (i.e., if the conversation is just being set up),
this may be null
.
getPartnerConversationId
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
public void setPartnerConversationId(java.lang.String newId)
ConversationMetaData
This method is called during conversation setup, by the decision-logic that is executing the setup conversation policy. Otherwise, users should never call it.
setPartnerConversationId
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
newId
- The conversation ID of the other agent.public java.lang.String getPartnerEndpointUri()
ConversationMetaData
The URI may be unique to this conversation, or may be shared among multiple conversations.
getPartnerEndpointUri
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
public void setPartnerEndpointUri(java.lang.String newUri)
ConversationMetaData
This method is called during conversation setup, by the decision-logic that is executing the setup conversation policy. Otherwise, users should never call it.
The URI may be unique to this conversation, or may be shared among multiple conversations.
setPartnerEndpointUri
in interface ConversationMetaData
com.ibm.conversation.ConversationMetaData
newUri
- The URI for the other agent's message-delivery endpoint.
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |