EchoPoint
1.0

echopoint.asynch
Class AsynchEvent

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byechopoint.asynch.AsynchEvent
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class AsynchEvent
extends java.util.Properties

AsynchEvent is a set of String properties that can be sent to an AsyncEventSink, most likely by an AsynchEventSource.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
AsynchEvent()
          Constructs an AsynchEvent with a null subject.
AsynchEvent(java.lang.String subject)
          Constructs an AsynchEvent with the specified subject.
 
Method Summary
 java.lang.String getSubject()
          Gets the subject of the asycnhronous event.
 java.util.Date getTimeStamp()
          Gets the time stamp of when the asynchonous event was created
 void setSubject(java.lang.String string)
          Sets the subject of the asycnhronous event.
 void setTimeStamp(java.util.Date date)
          Sets the time stamp of when the asynchonous event was created
 java.lang.String toString()
          This method is used to convert the proeprties into a String format ready for transport to its destination
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsynchEvent

public AsynchEvent()
Constructs an AsynchEvent with a null subject.


AsynchEvent

public AsynchEvent(java.lang.String subject)
Constructs an AsynchEvent with the specified subject.

Method Detail

getSubject

public java.lang.String getSubject()
Gets the subject of the asycnhronous event.

Returns:
the subject of the asycnhronous event.

setSubject

public void setSubject(java.lang.String string)
Sets the subject of the asycnhronous event.

Parameters:
string - the subject of the asycnhronous event.

toString

public java.lang.String toString()
This method is used to convert the proeprties into a String format ready for transport to its destination


getTimeStamp

public java.util.Date getTimeStamp()
Gets the time stamp of when the asynchonous event was created

Returns:
the time stamp of when the asynchonous event was created

setTimeStamp

public void setTimeStamp(java.util.Date date)
Sets the time stamp of when the asynchonous event was created

Parameters:
date - the time stamp of when the asynchonous event was created

EchoPoint
1.0