|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soc.message.SOCMessage soc.message.SOCChannels
public class SOCChannels
This message lists all the chat channels on a server.
It's one of the first messages sent from the server after SOCVersion
when connecting. SOCChannels
is sent even if the server isn't using
SOCServerFeatures.FEAT_CHANNELS
because clients see it as a
signal the connection is complete, and display their main user interface panel.
Field Summary | |
---|---|
private java.util.Vector<java.lang.String> |
channels
List of channels |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
SOCChannels(java.util.Vector<java.lang.String> cl)
Create a Channels Message. |
Method Summary | |
---|---|
java.util.Vector<java.lang.String> |
getChannels()
|
static SOCChannels |
parseDataStr(java.lang.String s)
Parse the command String into a Channels message |
java.lang.String |
toCmd()
CHANNELS sep channels |
static java.lang.String |
toCmd(java.util.Vector<java.lang.String> cl)
CHANNELS sep channels |
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.util.Vector<java.lang.String> channels
Constructor Detail |
---|
public SOCChannels(java.util.Vector<java.lang.String> cl)
cl
- list of channelsMethod Detail |
---|
public java.util.Vector<java.lang.String> getChannels()
public java.lang.String toCmd()
toCmd
in class SOCMessage
public static java.lang.String toCmd(java.util.Vector<java.lang.String> cl)
cl
- the list of channels
public static SOCChannels 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 |