|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.conversation.base.BasicConversationMetaData
Class BasicConversationMetaData is a straightforward, vanilla Java implementation of the ConversationMetaData interface.
| Field Summary |
|---|
| 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 ConversationMetaDatapublic void setConnectionStatus(int newStatus)
ConversationMetaData
setConnectionStatus in interface ConversationMetaDatanewStatus - The new connection status.public java.lang.String getSelfConversationId()
ConversationMetaDataIf no ID has been assigned (i.e., if the conversation is just being set up), this may be null.
getSelfConversationId in interface ConversationMetaDatapublic void setSelfConversationId(java.lang.String newId)
ConversationMetaDataThis method is called by the ConversationManager during conversation setup. Users should never call it.
setSelfConversationId in interface ConversationMetaDatanewId - The conversation ID of the agent owning this meta-data object.public java.lang.String getSelfEndpointUri()
ConversationMetaDataThe URI may be unique to this conversation, or may be shared among multiple conversations.
getSelfEndpointUri in interface ConversationMetaDatapublic void setSelfEndpointUri(java.lang.String newUri)
ConversationMetaDataThis 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 ConversationMetaDatanewUri - 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 ConversationMetaDatapublic void setPartnerConversationId(java.lang.String newId)
ConversationMetaDataThis 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 ConversationMetaDatanewId - The conversation ID of the other agent.public java.lang.String getPartnerEndpointUri()
ConversationMetaDataThe URI may be unique to this conversation, or may be shared among multiple conversations.
getPartnerEndpointUri in interface ConversationMetaDatapublic void setPartnerEndpointUri(java.lang.String newUri)
ConversationMetaDataThis 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 ConversationMetaDatanewUri - The URI for the other agent's message-delivery endpoint.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||