|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoc.message.SOCMessage
soc.message.SOCNewChannel
This message means that a new chat channel has been created.
| Field Summary | |
private java.lang.String |
channel
Name of the new channel. |
| Constructor Summary | |
SOCNewChannel(java.lang.String ch)
Create a NewChannel message. |
|
| Method Summary | |
java.lang.String |
getChannel()
|
static SOCNewChannel |
parseDataStr(java.lang.String s)
Parse the command String into a NewChannel message |
java.lang.String |
toCmd()
NEWCHANNEL sep channel |
static java.lang.String |
toCmd(java.lang.String ch)
NEWCHANNEL sep channel |
java.lang.String |
toString()
Simple human-readable representation, used for debug purposes. |
| Methods inherited from class soc.message.SOCMessage |
getMaximumVersion, getMinimumVersion, getType, toMsg, toSingleElemArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.lang.String channel
| Constructor Detail |
public SOCNewChannel(java.lang.String ch)
ch - name of new channel| Method Detail |
public java.lang.String getChannel()
public java.lang.String toCmd()
toCmd in class SOCMessagepublic static java.lang.String toCmd(java.lang.String ch)
ch - the new channel name
public static SOCNewChannel 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 | ||||||||||