|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Rainbow.ChannelEvent
An event on a channel.
Field Summary | |
static String |
ACKNOWLEDGE
The end of a (concrete) transition. |
static String |
BLOCKED
A partial (abstract) transition. |
Object |
data
What value was passed on the channel. |
String |
label
Which channel was it. |
static String |
REQUEST
The start of a (concrete) transition. |
long |
time
When did the event happen. |
static String |
TRANSITION
A complete (abstract) transition. |
String |
type
What sort of event was it. |
Constructor Summary | |
ChannelEvent(String type,
String label,
Object data,
long time)
Create a new channel event. |
Method Summary | |
boolean |
equals(Object o)
Compares this event with the specified object. |
int |
hashCode()
Return a hashcode for this event. |
String |
toString()
Produce a human-readable representation of this event. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String REQUEST
public static final String ACKNOWLEDGE
public static final String TRANSITION
public static final String BLOCKED
public String type
REQUEST
,
ACKNOWLEDGE
, TRANSITION
or BLOCKED
and may be compared safely by pointer.public String label
public Object data
public long time
Constructor Detail |
public ChannelEvent(String type, String label, Object data, long time)
Method Detail |
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |