arlut.csd.ganymede
Class clientEvent

java.lang.Object
  |
  +--arlut.csd.ganymede.clientEvent

class clientEvent
extends java.lang.Object

The client class is used on the Ganymede server by the serverClientProxy class, which uses it to queue up async method calls to a remote client.

clientEvent objects are never sent to a remote client. rather, they are queued up in the Ganymede server by the serverClientProxy class so that a background communications thread can read client events off of a queue and make the appropriate RMI calls to an attached client.


Field Summary
(package private) static byte FIRST
           
(package private) static byte LAST
           
(package private)  byte method
          Identifies what RMI call is going to need to be made to the remote Client.
(package private)  java.lang.Object param
          First Generic RMI call parameter to be sent to the remote Client.
(package private)  java.lang.Object param2
          Second Generic RMI call parameter to be sent to the remote Client.
(package private) static byte SENDMESSAGE
           
 
Constructor Summary
clientEvent(byte method, java.lang.Object param, java.lang.Object param2)
           
 
Method Summary
 void dispatch(Client client)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

FIRST

static final byte FIRST

SENDMESSAGE

static final byte SENDMESSAGE

LAST

static final byte LAST

method

byte method

Identifies what RMI call is going to need to be made to the remote Client.


param

java.lang.Object param

First Generic RMI call parameter to be sent to the remote Client.


param2

java.lang.Object param2

Second Generic RMI call parameter to be sent to the remote Client. If an RMI call normally takes more than two parameter, param2 should be a Vector which contains the 2nd and subsequent parameters internally.

Constructor Detail

clientEvent

public clientEvent(byte method,
                   java.lang.Object param,
                   java.lang.Object param2)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

dispatch

public void dispatch(Client client)
              throws java.rmi.RemoteException