All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.ServerMessage
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.AWTEvent
|
+----ncsa.habanero.ServerMessage
- public abstract class ServerMessage
- extends AWTEvent
- implements Marshallable, ActiveEvent
The ActionGranted is a wrapper class which is created by the Arbitrator
after it has determined that an Action is allowable. It is the class
which is actually routed to the other clients. It contains the Action
to be executed and the Ticket which determined when the Action can be
executed
-
arbi
-
-
ServerMessage(Specifiable)
- Create the ActionGranted.
-
dispatch()
-
-
getArbitrator()
- Return the serializer object.
-
getSerializer()
- Return the serializer object.
-
getSession()
-
Return the session object.
-
getTicket()
- Return the ticket object
-
isSerialized()
- read the Ticket, then find the Arbitrator from
its Specifier.
-
messageToSend(RequestHandler)
-
arbi
protected Specifiable arbi
ServerMessage
protected ServerMessage(Specifiable arb)
- Create the ActionGranted. Theoretically, only an Arbitrator can
do this.
- Parameters:
- req - The Action is extracted from this ActionRequest
getTicket
public Ticket getTicket()
- Return the ticket object
getSerializer
public Serializer getSerializer()
- Return the serializer object.
getSession
public Session getSession()
- Return the session object.
getArbitrator
public Arbitrator getArbitrator()
- Return the serializer object.
isSerialized
public boolean isSerialized()
- read the Ticket, then find the Arbitrator from
its Specifier.
messageToSend
public ServerMessage messageToSend(RequestHandler toWhere)
All Packages Class Hierarchy This Package Previous Next Index