public class ClientMessage
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
MSG_TYPE_BEEP
Message type: beep
|
static int |
MSG_TYPE_DIALOG
Message type: dialog
|
static int |
MSG_TYPE_DUMP
Message type: dump
|
Constructor and Description |
---|
ClientMessage(int type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getMsgType()
Get the message type
|
java.lang.Object |
getParam()
Get the parameter
|
void |
setParam(java.lang.Object arg)
Set the parameter
|
public static final int MSG_TYPE_DIALOG
public static final int MSG_TYPE_DUMP
public static final int MSG_TYPE_BEEP
public ClientMessage(int type)
ClientMessage
with the specified message type.type
- the given message typepublic java.lang.Object getParam()
public void setParam(java.lang.Object arg)
arg
- the given objectpublic int getMsgType()
Copyright ? 2022. All Rights Reserved.