swpchat.protocol
Interface SenderReceiverTokens

All Superinterfaces:
ChatTokens
All Known Implementing Classes:
ProtocolHandler, ServerConnection, MessageReceiver

public interface SenderReceiverTokens
extends ChatTokens

The tokens used in the communication between chat sender client and server. This interface defines more constants only, the basic structure is documented in ChatTokens.


Field Summary
static java.lang.String STR_JOIN
          Joining in a channel
static java.lang.String STR_JOINPASSWD
          Joining in a restricted channel
static java.lang.String STR_LEAVE
          Leaving a channel
static java.lang.String STR_OFF
          Put a ship off token
static java.lang.String STR_ON
          Put a ship on token
static java.lang.String STR_PLAY
          Sending a sound request
static java.lang.String STR_PLAY_BEGIN
          Constant initial part of a play message.
static java.lang.String STR_PLAY_RE_BEGIN
          Constant initial part of a play reply message.
static java.lang.String STR_RECEIVE
          Receiving a message
static java.lang.String STR_RECEIVE_BEGIN
          Constant initial part of a receive message.
static java.lang.String STR_RECEIVE_USERINFO
          receive userInfo command: server -> client (also defined in ReceiverTokens)
static java.lang.String STR_REQUEST_USERINFO
          request userInfo command: client -> server (also defined in SenderTokens)
static java.lang.String STR_SEND
          Sending a message
static java.lang.String STR_SEND_BEGIN
          Constant initial part of a send message.
static java.lang.String STR_SEND_RE_BEGIN
          Constant initial part of a send reply message.
static java.lang.String STR_SETTOPIC
          set topic
static java.lang.String STR_SETTOPIC_BEGIN
          Constant initial part of a settopic message.
static java.lang.String STR_SHIP
          Sending a ship-message
static java.lang.String STR_SHIP_BEGIN
          Constant initial part of a ship message.
static java.lang.String STR_TOPICCHANGED
          Receiving topicChanged
static java.lang.String STR_WHISPER
          Sending a whisper-message
static java.lang.String STR_WHISPRECEIVE
          Receiving a whisper-message
 
Fields inherited from interface swpchat.protocol.ChatTokens
CHAR_ARG_SEP, CHAR_MSG_END, CHAR_MSG_EOL, CHAR_QUOTE, CHAR_STRING_DELIMITER, STR_ARG_SEP, STR_AUTHORIZE, STR_MSG_END, STR_MSG_EOL, STR_NEG_ARG, STR_NEGATIVE, STR_POS_ARG, STR_POSITIVE, STR_QUOTE, STR_REPLY, STR_STRING_DELIMITER, STR_WAIT
 

Field Detail

STR_SEND

public static final java.lang.String STR_SEND
Sending a message

STR_RECEIVE

public static final java.lang.String STR_RECEIVE
Receiving a message

STR_PLAY

public static final java.lang.String STR_PLAY
Sending a sound request

STR_REQUEST_USERINFO

public static final java.lang.String STR_REQUEST_USERINFO
request userInfo command: client -> server (also defined in SenderTokens)

STR_RECEIVE_USERINFO

public static final java.lang.String STR_RECEIVE_USERINFO
receive userInfo command: server -> client (also defined in ReceiverTokens)

STR_WHISPER

public static final java.lang.String STR_WHISPER
Sending a whisper-message

STR_SHIP

public static final java.lang.String STR_SHIP
Sending a ship-message

STR_ON

public static final java.lang.String STR_ON
Put a ship on token

STR_OFF

public static final java.lang.String STR_OFF
Put a ship off token

STR_WHISPRECEIVE

public static final java.lang.String STR_WHISPRECEIVE
Receiving a whisper-message

STR_TOPICCHANGED

public static final java.lang.String STR_TOPICCHANGED
Receiving topicChanged

STR_SETTOPIC

public static final java.lang.String STR_SETTOPIC
set topic

STR_SETTOPIC_BEGIN

public static final java.lang.String STR_SETTOPIC_BEGIN
Constant initial part of a settopic message.

STR_RECEIVE_BEGIN

public static final java.lang.String STR_RECEIVE_BEGIN
Constant initial part of a receive message.

STR_SEND_BEGIN

public static final java.lang.String STR_SEND_BEGIN
Constant initial part of a send message.

STR_SHIP_BEGIN

public static final java.lang.String STR_SHIP_BEGIN
Constant initial part of a ship message.

STR_PLAY_BEGIN

public static final java.lang.String STR_PLAY_BEGIN
Constant initial part of a play message.

STR_SEND_RE_BEGIN

public static final java.lang.String STR_SEND_RE_BEGIN
Constant initial part of a send reply message.

STR_PLAY_RE_BEGIN

public static final java.lang.String STR_PLAY_RE_BEGIN
Constant initial part of a play reply message.

STR_JOIN

public static final java.lang.String STR_JOIN
Joining in a channel

STR_JOINPASSWD

public static final java.lang.String STR_JOINPASSWD
Joining in a restricted channel

STR_LEAVE

public static final java.lang.String STR_LEAVE
Leaving a channel