| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Protocol.Keyword>
net.sourceforge.obby4j.Protocol.Keyword
public static enum Protocol.Keyword
A list of all protocol keywords known to this implementation of the obby protocol.
| Enum Constant Summary | |
|---|---|
net6_client_join
Parameters: net6 user id, user name, obby user id, user color  | 
|
net6_client_login
Parameters: user name, user color  | 
|
net6_client_part
Parameters: obby user ID  | 
|
net6_login_failed
Parameters: net6/obby error code  | 
|
obby_document
Parameters: document ID, [several sub commands]  | 
|
obby_document_create
Parameters: obby user ID (author), author document index, document name  | 
|
obby_message
Parameters by client: chat message  | 
|
obby_sync_doclist_document
Parameters: obby user ID (author), author document index, document name  | 
|
obby_sync_final
No parameters.  | 
|
obby_sync_init
Parameters: number of lines to sync (both users and documents)  | 
|
obby_sync_usertable_user
Parameters: obby user ID, user name, user color  | 
|
obby_welcome
Parameters: protocol version, encryption key stuff I (?), encryption key stuff II (?), encryption key stuff III (?)  | 
|
| Method Summary | |
|---|---|
static Protocol.Keyword | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.  | 
static Protocol.Keyword[] | 
values()
Returns an array containing the constants of this enum type, in the order they're declared.  | 
| Methods inherited from class java.lang.Enum | 
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final Protocol.Keyword net6_client_join
Sent by server only.
public static final Protocol.Keyword net6_client_login
Sent by client only.
public static final Protocol.Keyword net6_client_part
Sent by server only.
public static final Protocol.Keyword net6_login_failed
Sent by server only.
Net6LoginException.ErrorCodepublic static final Protocol.Keyword obby_document
Protocol.DocumentKeywordpublic static final Protocol.Keyword obby_document_create
Sent by server only.
public static final Protocol.Keyword obby_message
Parameters by server: obby user ID, chat message
Sent by both client and server.
public static final Protocol.Keyword obby_sync_doclist_document
Sent by server only.
public static final Protocol.Keyword obby_sync_final
Sent by server only.
public static final Protocol.Keyword obby_sync_init
Sent by server only.
public static final Protocol.Keyword obby_sync_usertable_user
Sent by server only.
public static final Protocol.Keyword obby_welcome
Sent by server only.
| Method Detail | 
|---|
public static Protocol.Keyword valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static final Protocol.Keyword[] values()
for(Protocol.Keyword c : Protocol.Keyword.values())
        System.out.println(c);
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||