biz.chitec.quarterback.gjsa
Class BasicReplySymbols
java.lang.Object
biz.chitec.quarterback.gjsa.ChatSymbolHolder
biz.chitec.quarterback.gjsa.BasicReplySymbols
- public final class BasicReplySymbols
- extends ChatSymbolHolder
Method Summary |
java.lang.String |
getSymbolSetName()
Return the name of the symbol set.
|
int[] |
getSymbolSetVersion()
Version of the symbol set in version-subversion-patchlevel type.
|
java.lang.String |
numericToSymbol(int numeric)
Return the string-based representation of the symbol.
|
int |
symbolToNumeric(java.lang.String symbol)
Return the numeric equivalent to a symbol given as String.
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final BasicReplySymbols instance
ACCEPTED
public static final int ACCEPTED
- See Also:
- Constant Field Values
ADMINMESSAGE
public static final int ADMINMESSAGE
- See Also:
- Constant Field Values
BURSTEND
public static final int BURSTEND
- See Also:
- Constant Field Values
BURSTERROR
public static final int BURSTERROR
- See Also:
- Constant Field Values
BURSTPART
public static final int BURSTPART
- See Also:
- Constant Field Values
BURSTSTOPPED
public static final int BURSTSTOPPED
- See Also:
- Constant Field Values
CLOSING
public static final int CLOSING
- See Also:
- Constant Field Values
CONNECTIONDATACHANGE
public static final int CONNECTIONDATACHANGE
- See Also:
- Constant Field Values
CONNECTIONINSERT
public static final int CONNECTIONINSERT
- See Also:
- Constant Field Values
CONNECTIONREMOVE
public static final int CONNECTIONREMOVE
- See Also:
- Constant Field Values
CONNECTIONUPDATE
public static final int CONNECTIONUPDATE
- See Also:
- Constant Field Values
DBERROR
public static final int DBERROR
- See Also:
- Constant Field Values
DENIED
public static final int DENIED
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
HANDLERERROR
public static final int HANDLERERROR
- See Also:
- Constant Field Values
KILLKILLED
public static final int KILLKILLED
- See Also:
- Constant Field Values
KILLSTARTED
public static final int KILLSTARTED
- See Also:
- Constant Field Values
NO
public static final int NO
- See Also:
- Constant Field Values
NOTIMPLEMENTED
public static final int NOTIMPLEMENTED
- See Also:
- Constant Field Values
OK
public static final int OK
- See Also:
- Constant Field Values
OKBURSTING
public static final int OKBURSTING
- See Also:
- Constant Field Values
PROXYCLOSING
public static final int PROXYCLOSING
- See Also:
- Constant Field Values
REFUSED
public static final int REFUSED
- See Also:
- Constant Field Values
SERIOUSERROR
public static final int SERIOUSERROR
- See Also:
- Constant Field Values
SERVERMESSAGE
public static final int SERVERMESSAGE
- See Also:
- Constant Field Values
TIMETOKILL
public static final int TIMETOKILL
- See Also:
- Constant Field Values
WAITTOKILL
public static final int WAITTOKILL
- See Also:
- Constant Field Values
YES
public static final int YES
- See Also:
- Constant Field Values
BasicReplySymbols
public BasicReplySymbols()
symbolToNumeric
public int symbolToNumeric(java.lang.String symbol)
- Description copied from class:
ChatSymbolHolder
- Return the numeric equivalent to a symbol given as String.
Usually, this method is implemented in the subclasses by a preprocessor.
- Specified by:
symbolToNumeric
in class ChatSymbolHolder
- Parameters:
symbol
- Value of the symbol as String
- Returns:
- The symbol's integer value.
numericToSymbol
public java.lang.String numericToSymbol(int numeric)
- Description copied from class:
ChatSymbolHolder
- Return the string-based representation of the symbol.
Usually, this method is implemented in the subclasses by a preprocessor.
- Specified by:
numericToSymbol
in class ChatSymbolHolder
- Parameters:
numeric
- The symbol's integer value.
- Returns:
- Value of the symbol as String.
getSymbolSetName
public java.lang.String getSymbolSetName()
- Description copied from class:
ChatSymbolHolder
- Return the name of the symbol set.
Usually, this method is implemented in the subclasses by a preprocessor.
- Specified by:
getSymbolSetName
in class ChatSymbolHolder
- Returns:
- Arbitrary name of the symbol set.
getSymbolSetVersion
public int[] getSymbolSetVersion()
- Description copied from class:
ChatSymbolHolder
- Version of the symbol set in version-subversion-patchlevel type.
Usually, this method is implemented in the subclasses by a preprocessor.
- Specified by:
getSymbolSetVersion
in class ChatSymbolHolder
- Returns:
- int-array with three elements being version (index 0), subversion (index 1) and patchlevel (index 2) of the symbol set.