ABLE 2.0.0 07/02/2003 10:25:01

com.ibm.able.conversation
Class JasConversationMetaData

java.lang.Object
  |
  +--com.ibm.able.conversation.JasConversationMetaData
All Implemented Interfaces:
ConversationMetaData, java.io.Serializable

public class JasConversationMetaData
extends java.lang.Object
implements ConversationMetaData, java.io.Serializable

The AbleJasConversationMetaData class is an ABLE-compatible implementation of the JasConversationMetaData interface.

See Also:
Serialized Form

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

JasConversationMetaData

public JasConversationMetaData()
Constructs an AbleJasConversationMetaData object with null values for all instance variables.
Method Detail

getConnectionStatus

public int getConnectionStatus()
Description copied from interface: ConversationMetaData
Returns the current connection status: one of CLOSED, HALF_OPEN, OPEN.
Specified by:
getConnectionStatus in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Returns:
The connection status.

setConnectionStatus

public void setConnectionStatus(int newStatus)
Description copied from interface: ConversationMetaData
Sets the current connection status: must be one of CLOSED, HALF_OPEN, OPEN.
Specified by:
setConnectionStatus in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Parameters:
The - new connection status.

getSelfConversationId

public java.lang.String getSelfConversationId()
Description copied from interface: ConversationMetaData
Returns the conversation ID assigned to this conversation by the agent that owns this ConvesationMetaData object.

If no ID has been assigned (i.e., if the conversation is just being set up), this may be null.

Specified by:
getSelfConversationId in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Returns:
The conversation ID of the agent owning this meta-data object.

setSelfConversationId

public void setSelfConversationId(java.lang.String id)
Description copied from interface: ConversationMetaData
Sets the conversation ID assigned to this conversation by the agent that owns this ConvesationMetaData object.

This method is called by the ConversationManager during conversation setup. Users should never call it.

Specified by:
setSelfConversationId in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Parameters:
newId - The conversation ID of the agent owning this meta-data object.

getSelfEndpointUri

public java.lang.String getSelfEndpointUri()
Description copied from interface: ConversationMetaData
Returns the URI for the this agent's message-delivery endpoint.

The URI may be unique to this conversation, or may be shared among multiple conversations.

Specified by:
getSelfEndpointUri in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Returns:
The URI for this agent's message-delivery endpoint.

setSelfEndpointUri

public void setSelfEndpointUri(java.lang.String newUri)
Description copied from interface: ConversationMetaData
Sets the URI for the this agent's message-delivery endpoint.

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.

Specified by:
setSelfEndpointUri in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Parameters:
newUri - The URI for this agent's message-delivery endpoint.

getSelfName

public javax.agent.AgentName getSelfName()
Returns the AgentName associated with the agent that owns this meta-data object.
Returns:
The AgentName.

setSelfName

public void setSelfName(javax.agent.AgentName name)
Sets the AgentName associated with the agent that owns this meta-data object.
Parameters:
name - The new AgentName.

getSelfLocator

public javax.agent.Locator getSelfLocator()
Returns the Locator associated with the agent that owns this meta-data object.
Returns:
The Locator.

setSelfLocator

public void setSelfLocator(javax.agent.Locator loc)
Sets the Locator associated with the agent that owns this meta-data object.
Parameters:
loc - The new Locator.

getPartnerConversationId

public java.lang.String getPartnerConversationId()
Description copied from interface: ConversationMetaData
Returns the conversation ID assigned to this conversation by the other participant (i.e., the agent that does not own this ConversationMetaData object).

If no ID has been assigned (i.e., if the conversation is just being set up), this may be null.

Specified by:
getPartnerConversationId in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Returns:
The conversation ID assigned to this conversation by the other participant.

setPartnerConversationId

public void setPartnerConversationId(java.lang.String id)
Description copied from interface: ConversationMetaData
Sets the conversation ID assigned to this conversation by the other participant (i.e, the agent that does not own this ConvesationMetaData object).

This method is called during conversation setup, by the decision-logic that is executing the setup conversation policy. Otherwise, users should never call it.

Specified by:
setPartnerConversationId in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Parameters:
newId - The conversation ID of the other agent.

getPartnerEndpointUri

public java.lang.String getPartnerEndpointUri()
Description copied from interface: ConversationMetaData
Returns the URI for the other agent's message-delivery endpoint.

The URI may be unique to this conversation, or may be shared among multiple conversations.

Specified by:
getPartnerEndpointUri in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Returns:
The URI for the other agent's message-delivery endpoint.

setPartnerEndpointUri

public void setPartnerEndpointUri(java.lang.String newUri)
Description copied from interface: ConversationMetaData
Sets the URI for the other agent's message-delivery endpoint.

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.

Specified by:
setPartnerEndpointUri in interface ConversationMetaData
Following copied from interface: com.ibm.conversation.ConversationMetaData
Parameters:
newUri - The URI for the other agent's message-delivery endpoint.

getPartnerName

public 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.
Returns:
The AgentName.

setPartnerName

public 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.
Parameters:
name - The AgentName.

getPartnerLocator

public 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.
Returns:
The Locator.

setPartnerLocator

public 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.
Parameters:
loc - The Locator.

ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003