Agentflow
V3.1

pe.pase
Class ClientMessage

java.lang.Object
  extended by pe.pase.ClientMessage
All Implemented Interfaces:
java.io.Serializable

public class ClientMessage
extends java.lang.Object
implements java.io.Serializable

The message that server announced to the online client.

Version:
1.1.5,
Author:
yschen
See Also:
Serialized Form

Field Summary
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 Summary
ClientMessage(int type)
          Constructor.
 
Method Summary
 int getMsgType()
          Get the message type
 java.lang.Object getParam()
          Get the parameter
 void setParam(java.lang.Object arg)
          Set the parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_TYPE_BEEP

public static final int MSG_TYPE_BEEP
Message type: beep

Since:
version 1.0.0
See Also:
Constant Field Values

MSG_TYPE_DIALOG

public static final int MSG_TYPE_DIALOG
Message type: dialog

Since:
version 1.0.0
See Also:
Constant Field Values

MSG_TYPE_DUMP

public static final int MSG_TYPE_DUMP
Message type: dump

Since:
version 1.0.0
See Also:
Constant Field Values
Constructor Detail

ClientMessage

public ClientMessage(int type)
Constructor. Construct a instance of ClientMessage with the specified message type.

Parameters:
type - the given message type
Since:
version 1.0.0
Method Detail

getMsgType

public int getMsgType()
Get the message type

Returns:
the message type
Since:
version 1.0.0

getParam

public java.lang.Object getParam()
Get the parameter

Returns:
the object
Since:
version 1.0.0

setParam

public void setParam(java.lang.Object arg)
Set the parameter

Parameters:
arg - the given object
Since:
version 1.0.0

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.