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


Variable Index

 o arbi

Constructor Index

 o ServerMessage(Specifiable)
Create the ActionGranted.

Method Index

 o dispatch()
 o getArbitrator()
Return the serializer object.
 o getSerializer()
Return the serializer object.
 o getSession()
Return the session object.
 o getTicket()
Return the ticket object
 o isSerialized()
read the Ticket, then find the Arbitrator from its Specifier.
 o messageToSend(RequestHandler)

Variables

 o arbi
 protected Specifiable arbi

Constructors

 o ServerMessage
 protected ServerMessage(Specifiable arb)
Create the ActionGranted. Theoretically, only an Arbitrator can do this.

Parameters:
req - The Action is extracted from this ActionRequest

Methods

 o getTicket
 public Ticket getTicket()
Return the ticket object

 o getSerializer
 public Serializer getSerializer()
Return the serializer object.

 o getSession
 public Session getSession()
Return the session object.

 o getArbitrator
 public Arbitrator getArbitrator()
Return the serializer object.

 o isSerialized
 public boolean isSerialized()
read the Ticket, then find the Arbitrator from its Specifier.

 o messageToSend
 public ServerMessage messageToSend(RequestHandler toWhere)

All Packages  Class Hierarchy  This Package  Previous  Next  Index