Public Member Functions | |
String | getName () |
String | getDescription () |
String | toString () |
Static Public Attributes | |
static final MessageType | MSG_ERROR = new MessageType("MSG_ERROR", "Error message.") |
static final MessageType | MSG_INFORMATION = new MessageType("MSG_INFORMATION", "Informational message.") |
Protected Member Functions | |
MessageType (String name, String description) |
Type of the message. Can be either MSG_ERROR
or MSG_INFORMATION
.
com.cosylab.acs.maci.MessageType.MessageType | ( | String | name, | |
String | description | |||
) | [protected] |
Creates a new message type with its name and description. Contructor is protected
to deny creation of unsupported types
name | name of the type, non-null | |
description | description of the type, non-null |
String com.cosylab.acs.maci.MessageType.getDescription | ( | ) |
Returns the description of the type.
String com.cosylab.acs.maci.MessageType.getName | ( | ) |
Returns the name of the type.
String com.cosylab.acs.maci.MessageType.toString | ( | ) |
Returns a single-line rendition of this instance into text.
final MessageType com.cosylab.acs.maci.MessageType.MSG_ERROR = new MessageType("MSG_ERROR", "Error message.") [static] |
Error message.
Referenced by com.cosylab.acs.maci.plug.ClientProxyImpl.message(), and com.cosylab.acs.maci.plug.ClientProxyImpl.taggedmessage().
final MessageType com.cosylab.acs.maci.MessageType.MSG_INFORMATION = new MessageType("MSG_INFORMATION", "Informational message.") [static] |
Informational message.
Referenced by com.cosylab.acs.maci.plug.ClientProxyImpl.message(), and com.cosylab.acs.maci.plug.ClientProxyImpl.taggedmessage().