|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.jadv.events.Event
|
+--org.jadv.events.ObjectMessageEvent
A Message is sent to an object
| Field Summary | |
private java.lang.String |
_msg
|
private AcceptEvents |
_obj
|
private java.lang.String |
_senderID
|
private byte |
_type
|
| Fields inherited from class org.jadv.events.Event |
_NEXT |
| Constructor Summary | |
ObjectMessageEvent(AcceptEvents target,
java.lang.String senderid,
java.lang.String msg,
byte type)
Constructor |
|
| Method Summary | |
void |
doEvent()
Give this event to the target object |
java.lang.String |
getMessage()
Get the Message |
java.lang.String |
getSenderID()
Get the ID of the sender |
byte |
getType()
Get the Type of the Message |
void |
markBad()
markBad() Mark an Event as bad. |
| Methods inherited from class org.jadv.events.Event |
findObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private AcceptEvents _obj
private java.lang.String _senderID
private java.lang.String _msg
private byte _type
| Constructor Detail |
public ObjectMessageEvent(AcceptEvents target,
java.lang.String senderid,
java.lang.String msg,
byte type)
target - the target of this Eventsenderid - the id of the sendermsg - the messagetype - the type| Method Detail |
public java.lang.String getSenderID()
public java.lang.String getMessage()
public byte getType()
public void doEvent()
doEvent in class EventEvent.doEvent()public void markBad()
Event
markBad in class EventEvent.markBad()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||