com.ibm.able.conversation
Class ContextEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.able.conversation.ConversationEvent
|
+--com.ibm.able.conversation.ContextEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ContextEvent
- extends ConversationEvent
This is an event output from a CPH, that tells the conv mgr to change
either the owner agent's conversation-context data ("self"), or that of the
other agent in the conversation ("counterpart").
OLD VERSION -- TO BE DELETED
Context data consists of agent name, locator, and conversation ID. The conv
manager keeps it in a ConversationContext object.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ContextEvent(java.lang.Object source)
Constructor for ConfigurationEvent |
ContextEvent(java.lang.Object source,
int newSide,
javax.agent.AgentName newName,
javax.agent.Locator newLocator,
java.lang.String newID)
Constructor for ConfigurationEvent |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NEITHER
public static final int NEITHER
SELF
public static final int SELF
COUNTERPART
public static final int COUNTERPART
ContextEvent
public ContextEvent(java.lang.Object source)
- Constructor for ConfigurationEvent
ContextEvent
public ContextEvent(java.lang.Object source,
int newSide,
javax.agent.AgentName newName,
javax.agent.Locator newLocator,
java.lang.String newID)
- Constructor for ConfigurationEvent
getSide
public int getSide()
setSide
public void setSide(int newSide)
getAgentName
public javax.agent.AgentName getAgentName()
setAgentName
public void setAgentName(javax.agent.AgentName newName)
getLocator
public javax.agent.Locator getLocator()
setLocator
public void setLocator(javax.agent.Locator newLocator)
getConversationID
public java.lang.String getConversationID()
setConversationID
public void setConversationID(java.lang.String newID)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject
(C) Copyright IBM Corporation 1999, 2003