public class clientAsyncMessage
extends java.lang.Object
implements java.io.Serializable
The clientAsyncMessage class is used by the Ganymede
server to pass asynchronous messages to the Ganymede client.
The Ganymede client repeatedly calls serverClientAsyncResponder.getNextMsg() to
receive asynchonous notifications from the server.
| Modifier and Type | Field and Description |
|---|---|
static int |
FIRST |
static int |
LAST |
(package private) int |
method
Identifies what RMI call is going to need to be made to the
remote Client.
|
(package private) java.lang.Object[] |
params
Generic RMI call parameters to be sent to the remote client.
|
static int |
SENDMESSAGE |
(package private) static long |
serialVersionUID |
static int |
SHUTDOWN |
| Constructor and Description |
|---|
clientAsyncMessage(int method,
java.lang.Object param) |
clientAsyncMessage(int method,
java.lang.Object[] param) |
static final long serialVersionUID
public static final int FIRST
public static final int SENDMESSAGE
public static final int SHUTDOWN
public static final int LAST
int method
Identifies what RMI call is going to need to be made to the remote Client.
java.lang.Object[] params
public clientAsyncMessage(int method,
java.lang.Object param)
public clientAsyncMessage(int method,
java.lang.Object[] param)
public java.lang.String toString()
toString in class java.lang.Objectpublic int getMethod()
public int getParamCount()
public java.lang.Object getParam(int index)
public java.lang.String getString(int index)
public int getInt(int index)
public long getLong(int index)