|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinput.ExternalEvent
input.MessageEvent
public abstract class MessageEvent
A message related external event
| Field Summary | |
|---|---|
protected int |
fromAddr
address of the node the message is from |
protected java.lang.String |
id
identifier of the message |
protected int |
toAddr
address of the node the message is to |
| Fields inherited from class input.ExternalEvent |
|---|
time |
| Constructor Summary | |
|---|---|
MessageEvent(int from,
int to,
java.lang.String id,
double time)
Creates a message event |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns a String representation of the event |
| Methods inherited from class input.ExternalEvent |
|---|
compareTo, getTime, processEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int fromAddr
protected int toAddr
protected java.lang.String id
| Constructor Detail |
|---|
public MessageEvent(int from,
int to,
java.lang.String id,
double time)
from - Where the message comes fromto - Who the message goes toid - ID of the messagetime - Time when the message event occurs| Method Detail |
|---|
public java.lang.String toString()
ExternalEvent
toString in class ExternalEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||