|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmessage.Message
message.ReplyMessage
public final class ReplyMessage
ExternalMessage used to send data to a Client.
| Field Summary | |
|---|---|
static byte |
IDENTIFIER
Identifier for this type of message. |
| Constructor Summary | |
|---|---|
ReplyMessage(byte[] byteMesssage,
User user)
Constructs a new ReplyMessage with the submitted content
(byteMesssage) for the bypassed user/channel. |
|
| Method Summary | |
|---|---|
int |
getMessageID()
Returns the message id -2222 (all ReplyMessage s have the
same id). |
java.lang.String |
toString()
Returns a String representation of this class. |
| Methods inherited from class message.Message |
|---|
compareTo, getByteMessage, getChannel, getChannelID, getNextMixChannelID, getTimeOfReceival, setByteMessage, setMessageID, setPayloadRange, setTimeOfReceival |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface message.BasicMessage |
|---|
getByteMessage, getChannel, getChannelID, getNextMixChannelID, getTimeOfReceival, setByteMessage, setMessageID, setPayloadRange, setTimeOfReceival |
| Field Detail |
|---|
public static final byte IDENTIFIER
instanceOf operator.
| Constructor Detail |
|---|
public ReplyMessage(byte[] byteMesssage,
User user)
ReplyMessage with the submitted content
(byteMesssage) for the bypassed user/channel.
byteMesssage - Byte representation of this message.user - User, this message belongs to.| Method Detail |
|---|
public int getMessageID()
ReplyMessage s have the
same id).
getMessageID in interface BasicMessagegetMessageID in class Messagepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||