Jeospace API

org.jeospace.event
Class ChronAlarmEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.jeospace.event.ChronAlarmEvent
All Implemented Interfaces:
java.io.Serializable

public class ChronAlarmEvent
extends java.util.EventObject

The event object for distributing ChronAlarm event notification.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton
See Also:
Serialized Form

Field Summary
static int ALARM_EXPIRED
          The event id indicating that a ChronAlarm's time interval has expired.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChronAlarmEvent(java.lang.Object source, int id, java.lang.Object userID, long timestamp)
          Construct a ChronAlarmEvent object with the specified source object and type.
 
Method Summary
 int getID()
          Return the event type.
 long getTimestamp()
          Return the event timestamp.
 java.lang.Object getUserID()
          Return the user ID object.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALARM_EXPIRED

public static final int ALARM_EXPIRED
The event id indicating that a ChronAlarm's time interval has expired.

See Also:
Constant Field Values
Constructor Detail

ChronAlarmEvent

public ChronAlarmEvent(java.lang.Object source,
                       int id,
                       java.lang.Object userID,
                       long timestamp)
Construct a ChronAlarmEvent object with the specified source object and type.

Parameters:
source - the object where the event originated
id - the event type
userID - the user's ID object
timestamp - the time at which the event occured.
Method Detail

getID

public int getID()
Return the event type.

Returns:
the event type

getUserID

public java.lang.Object getUserID()
Return the user ID object.

Returns:
the user ID object.

getTimestamp

public long getTimestamp()
Return the event timestamp.

Returns:
the event timestamp.

Jeospace API

Copyright © 2006 - jeospace.org