|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soc.message.SOCMessage soc.message.SOCJoinAuth
public class SOCJoinAuth
This message means that the server has authorized this client to join a channel
Field Summary | |
---|---|
private java.lang.String |
channel
Name of channel |
private java.lang.String |
nickname
Nickname of the joining member |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
SOCJoinAuth(java.lang.String nn,
java.lang.String ch)
Create a JoinAuth message. |
Method Summary | |
---|---|
java.lang.String |
getChannel()
|
java.lang.String |
getNickname()
|
static SOCJoinAuth |
parseDataStr(java.lang.String s)
Parse the command String into a Join message |
java.lang.String |
toCmd()
JOINAUTH sep nickname sep2 channel |
static java.lang.String |
toCmd(java.lang.String nn,
java.lang.String ch)
JOINAUTH sep nickname sep2 channel |
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 nickname
private java.lang.String channel
Constructor Detail |
---|
public SOCJoinAuth(java.lang.String nn, java.lang.String ch)
nn
- nicknamech
- name of chat channelMethod Detail |
---|
public java.lang.String getNickname()
public java.lang.String getChannel()
public java.lang.String toCmd()
toCmd
in class SOCMessage
public static java.lang.String toCmd(java.lang.String nn, java.lang.String ch)
nn
- the necknamech
- the channel name
public static SOCJoinAuth 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 |