|
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.able.conversation.JasConversationMetaData
The AbleJasConversationMetaData class is an ABLE-compatible implementation of the JasConversationMetaData interface.
Fields inherited from interface com.ibm.conversation.ConversationMetaData |
---|
CLOSED, HALF_OPEN, OPEN |
Constructor Summary | |
---|---|
JasConversationMetaData()
Constructs an AbleJasConversationMetaData object with null values for all
instance variables. |
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. |
javax.agent.Locator |
getPartnerLocator()
Returns the Locator associated with the other agent in the conversation: i.e., the one that does not agent that owns this meta-data object. |
javax.agent.AgentName |
getPartnerName()
Returns the AgentName associated with the other agent in the conversation: i.e., the one that does not agent that owns this meta-data object. |
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. |
javax.agent.Locator |
getSelfLocator()
Returns the Locator associated with the agent that owns this meta-data object. |
javax.agent.AgentName |
getSelfName()
Returns the AgentName associated with the agent that owns this meta-data object. |
void |
setConnectionStatus(int newStatus)
Sets the current connection status: must be one of CLOSED, HALF_OPEN, OPEN. |
void |
setPartnerConversationId(java.lang.String id)
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 |
setPartnerLocator(javax.agent.Locator loc)
Sets the Locator associated with the other agent in the conversation: i.e., the one that does not agent that owns this meta-data object. |
void |
setPartnerName(javax.agent.AgentName name)
Sets the AgentName associated with the other agent in the conversation: i.e., the one that does not agent that owns this meta-data object. |
void |
setSelfConversationId(java.lang.String id)
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. |
void |
setSelfLocator(javax.agent.Locator loc)
Sets the Locator associated with the agent that owns this meta-data object. |
void |
setSelfName(javax.agent.AgentName name)
Sets the AgentName associated with the agent that owns this meta-data object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JasConversationMetaData()
null
values for all
instance variables.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 id)
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 javax.agent.AgentName getSelfName()
public void setSelfName(javax.agent.AgentName name)
name
- The new AgentName.public javax.agent.Locator getSelfLocator()
public void setSelfLocator(javax.agent.Locator loc)
loc
- The new Locator.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 id)
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.public javax.agent.AgentName getPartnerName()
public void setPartnerName(javax.agent.AgentName name)
name
- The AgentName.public javax.agent.Locator getPartnerLocator()
public void setPartnerLocator(javax.agent.Locator loc)
loc
- The Locator.
|
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 |