|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinf1010.pusle.chat.Message
public class Message
A small class containing a packet.
Constructor Summary | |
---|---|
Message(byte type,
java.lang.String data)
Creates a new message. |
Method Summary | |
---|---|
java.lang.String |
getData()
Gets this message's data. |
byte |
getType()
Gets this message's type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message(byte type, java.lang.String data)
type
- the packet type for this message.data
- the data that was in the packet.Method Detail |
---|
public byte getType()
public java.lang.String getData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |