org.pasoa.common.structure
Class InteractionKey
java.lang.Object
org.pasoa.common.structure.InteractionKey
- All Implemented Interfaces:
- Serializable
- public class InteractionKey
- extends Object
- implements Serializable
An interaction key uniquely identifies an interaction and therefore an
interaction record. An interaction is the exchange of a message from a
sending actor (the client) to a receiving actor (the service).
- Author:
- pgroth
- See Also:
- Serialized Form
InteractionKey
public InteractionKey(Element messageSource,
Element messageSink,
String interactionID)
- Construct an interaction key.
- Parameters:
messageSource
- identifies the source of the interaction, i.e. where
the message is sent frommessageSink
- identifes the sink of the interaction, i.e. where the
message is received atinteractionID
- an id that distinguishes this interaction from all
other interactions between the given messageSource and
messsageSink
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
getInteractionID
public String getInteractionID()
getMessageSink
public Element getMessageSink()
getMessageSource
public Element getMessageSource()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object