|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soc.message.SOCMessage soc.message.SOCBCastTextMsg
public class SOCBCastTextMsg
This message contains a text message for everyone connected
Field Summary | |
---|---|
private static long |
serialVersionUID
|
private java.lang.String |
text
Text message |
Constructor Summary | |
---|---|
SOCBCastTextMsg(java.lang.String tm)
Create a BCastTextMsg message. |
Method Summary | |
---|---|
java.lang.String |
getText()
|
static SOCBCastTextMsg |
parseDataStr(java.lang.String s)
Parse the command String into a BCastTextMsg message |
java.lang.String |
toCmd()
BCASTTEXTMSG sep text |
static java.lang.String |
toCmd(java.lang.String tm)
BCASTTEXTMSG sep text |
java.lang.String |
toString()
Simple human-readable representation, used for debug purposes. |
Methods inherited from class soc.message.SOCMessage |
---|
arrayIntoStringBuf, enumIntoStringBuf, getClassNameShort, getMaximumVersion, getMinimumVersion, getType, isSingleLineAndSafe, isSingleLineAndSafe, toMsg |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.lang.String text
Constructor Detail |
---|
public SOCBCastTextMsg(java.lang.String tm)
tm
- text messageMethod Detail |
---|
public java.lang.String getText()
public java.lang.String toCmd()
toCmd
in class SOCMessage
public static java.lang.String toCmd(java.lang.String tm)
tm
- the text message
public static SOCBCastTextMsg parseDataStr(java.lang.String s)
s
- the String to parse
public java.lang.String toString()
SOCMessage
toString
in class SOCMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |