com.ibm.able.conversation
Class TimerEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.able.conversation.ConversationEvent
|
+--com.ibm.able.conversation.TimerEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class TimerEvent
- extends ConversationEvent
This is a ConversationEvent used to set a timer or to notify the recipient
that a timer has expired.
OLD VERSION -- TO BE DELETED
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
TimerEvent(java.lang.Object source)
|
TimerEvent(java.lang.Object source,
int newType,
int newTime)
|
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 |
SET_TIMER
public static final int SET_TIMER
TIMER_EXPIRED
public static final int TIMER_EXPIRED
TimerEvent
public TimerEvent(java.lang.Object source)
TimerEvent
public TimerEvent(java.lang.Object source,
int newType,
int newTime)
getType
public int getType()
setType
public void setType(int newType)
isValidType
public static boolean isValidType(int testType)
getTypeString
public static java.lang.String getTypeString(int testType)
getTimeInMillisec
public int getTimeInMillisec()
setTimeInMillisec
public void setTimeInMillisec(int newTime)
toString
public java.lang.String toString()
- Returns a text summary of this object, intended for human eyes.
- Overrides:
toString
in class java.util.EventObject
(C) Copyright IBM Corporation 1999, 2003