|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--de.jadv.lib.events.JAdvEvent
|
+--de.jadv.lib.events.toclient.MessageEvent
Send a Message to the Client
| Field Summary | |
java.lang.String |
message
|
java.lang.String |
sender
|
byte |
typeOfMessage
|
| Constructor Summary | |
MessageEvent(java.nio.ByteBuffer buf)
Constructor! |
|
MessageEvent(java.lang.String sender,
java.lang.String message,
byte type)
Constructor for MessageEvent. |
|
| Method Summary | |
java.nio.ByteBuffer |
encodeEvent()
|
| Methods inherited from class de.jadv.lib.events.JAdvEvent |
decodeEvent, encodeEvent, getCreateTime, isNewer, isOlder, readBackground, readString, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String sender
public java.lang.String message
public byte typeOfMessage
| Constructor Detail |
public MessageEvent(java.lang.String sender,
java.lang.String message,
byte type)
public MessageEvent(java.nio.ByteBuffer buf)
throws java.io.IOException
buf - - Buffer to read all elements from
java.io.IOException| Method Detail |
public java.nio.ByteBuffer encodeEvent()
throws java.io.IOException
encodeEvent in class JAdvEventjava.io.IOExceptionJAdvEvent.encodeEvent()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||