com.genesyslab.soa.event
Class Event

java.lang.Object
  extended bycom.genesyslab.soa.event.Event
All Implemented Interfaces:
java.io.Serializable

public class Event
extends java.lang.Object
implements java.io.Serializable

Description : This class describes an event which occurred in a service.

See Also:
Serialized Form

Constructor Summary
Event()
           
 
Method Summary
 KeyValue[] getAttributes()
          The key-value pairs of the published attributes retrieved with this event.
 java.lang.String getEventName()
          The name of the produced event.
 java.lang.String getServiceName()
          The service name which produced this event.
 long getTimeStamp()
          The time in milli-seconds (GMT notation) at which this event occurred.
 Topic[] getTriggers()
          The list of the matched triggers.
 void setAttributes(KeyValue[] attributes)
           
 void setEventName(java.lang.String eventName)
           
 void setServiceName(java.lang.String serviceName)
           
 void setTimeStamp(long timeStamp)
           
 void setTriggers(Topic[] triggers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event

public Event()
Method Detail

setServiceName

public void setServiceName(java.lang.String serviceName)

getServiceName

public java.lang.String getServiceName()
The service name which produced this event.

Returns:
The service name.

getEventName

public java.lang.String getEventName()
The name of the produced event.

Returns:
The event name.

setEventName

public void setEventName(java.lang.String eventName)

getTriggers

public Topic[] getTriggers()
The list of the matched triggers.

Returns:
The triggers.

setTriggers

public void setTriggers(Topic[] triggers)

getAttributes

public KeyValue[] getAttributes()
The key-value pairs of the published attributes retrieved with this event.

Returns:
The key-value pairs attributes.

setAttributes

public void setAttributes(KeyValue[] attributes)

getTimeStamp

public long getTimeStamp()
The time in milli-seconds (GMT notation) at which this event occurred.

Returns:
The time stamp.

setTimeStamp

public void setTimeStamp(long timeStamp)