com.planet_ink.coffee_mud.Common.interfaces
Class CMMsg.Desc

java.lang.Object
  extended by com.planet_ink.coffee_mud.Common.interfaces.CMMsg.Desc
Enclosing interface:
CMMsg

public static final class CMMsg.Desc
extends java.lang.Object

An accessor for safely converting raw message codes into friendlier description codes, and back again.


Field Summary
protected static java.util.Map<java.lang.Integer,java.lang.String> MSGDESC_TYPES
           
protected static java.util.Map<java.lang.String,java.lang.Integer> MSGTYPE_DESCS
           
 
Constructor Summary
CMMsg.Desc()
           
 
Method Summary
static java.util.Map<java.lang.Integer,java.lang.String> getMSGDESC_TYPES()
          Returns a map of raw message code mask/minor values to strings
static java.util.Map<java.lang.String,java.lang.Integer> getMSGTYPE_DESCS()
          Returns a map of description code strings, to their raw message code masks/minor values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSGTYPE_DESCS

protected static final java.util.Map<java.lang.String,java.lang.Integer> MSGTYPE_DESCS

MSGDESC_TYPES

protected static final java.util.Map<java.lang.Integer,java.lang.String> MSGDESC_TYPES
Constructor Detail

CMMsg.Desc

public CMMsg.Desc()
Method Detail

getMSGTYPE_DESCS

public static java.util.Map<java.lang.String,java.lang.Integer> getMSGTYPE_DESCS()
Returns a map of description code strings, to their raw message code masks/minor values.

Returns:
the map

getMSGDESC_TYPES

public static java.util.Map<java.lang.Integer,java.lang.String> getMSGDESC_TYPES()
Returns a map of raw message code mask/minor values to strings

Returns:
the map