|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinput.ExternalEvent
input.MessageEvent
input.MessageDeleteEvent
public class MessageDeleteEvent
External event for deleting a message.
Field Summary |
---|
Fields inherited from class input.MessageEvent |
---|
fromAddr, id, toAddr |
Fields inherited from class input.ExternalEvent |
---|
time |
Constructor Summary | |
---|---|
MessageDeleteEvent(int host,
java.lang.String id,
double time,
boolean drop)
Creates a message delete event |
Method Summary | |
---|---|
void |
processEvent(World world)
Deletes the message |
java.lang.String |
toString()
Returns a String representation of the event |
Methods inherited from class input.ExternalEvent |
---|
compareTo, getTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageDeleteEvent(int host, java.lang.String id, double time, boolean drop)
host
- Where to delete the messageid
- ID of the messagetime
- Time when the message is deletedMethod Detail |
---|
public void processEvent(World world)
processEvent
in class ExternalEvent
world
- World where the actors of the event arepublic java.lang.String toString()
ExternalEvent
toString
in class MessageEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |