solar.service.rpc.comm
Class RequestEvent

java.lang.Object
  |
  +--solar.impl.AbstractAttributeRecord
        |
        +--solar.impl.SerializedEvent
              |
              +--solar.service.rpc.comm.RequestEvent
All Implemented Interfaces:
Adu, AttributeRecord, Event, RpcConstants, java.io.Serializable, SolarConstants

public class RequestEvent
extends SerializedEvent
implements RpcConstants

An event encoding RPC request.

Version:
$Id: RequestEvent.java,v 1.2 2003/09/26 19:47:18 glchen Exp $
Author:
Guanling Chen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class solar.impl.AbstractAttributeRecord
_attributes
 
Fields inherited from interface solar.service.rpc.RpcConstants
RPC_BLOCK, RPC_HANDLER, RPC_REPLY, RPC_REQUEST, RPC_TIMEOUT
 
Fields inherited from interface solar.api.Event
EVENT_PLAIN, EVENT_SERIALIZED
 
Fields inherited from interface solar.SolarConstants
ADVERTISEMENT_SVID, ATTRIBUTE_RECORD_SVID, ATTRIBUTE_SVID, FILTER_CONFIG_SVID, FILTER_SPEC_SVID, GRAPH_SPEC_SVID, GUID_SVID, HEADER_SVID, ID_SVID, NAME_RECORD_SVID, PACK_POLICY_SVID, PIPE_SPEC_SVID, REQUEST_SVID, RPCACK_SVID
 
Constructor Summary
RequestEvent(Event evt)
           
RequestEvent(Request request, java.lang.String handler, Id block)
           
 
Method Summary
 Id getBlock()
           
 java.lang.String getHandler()
           
 Request getRequest()
           
static boolean isRequestEvent(Event evt)
           
 
Methods inherited from class solar.impl.SerializedEvent
equals, getEncoding, toBytes, toString
 
Methods inherited from class solar.impl.AbstractAttributeRecord
getAttribute, getAttributes, getAttributes, getKeys, getValue, getValues, getValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface solar.api.AttributeRecord
getAttribute, getAttributes, getAttributes, getKeys, getValue, getValues, getValues
 

Constructor Detail

RequestEvent

public RequestEvent(Request request,
                    java.lang.String handler,
                    Id block)

RequestEvent

public RequestEvent(Event evt)
Method Detail

getRequest

public Request getRequest()

getHandler

public java.lang.String getHandler()

getBlock

public Id getBlock()

isRequestEvent

public static boolean isRequestEvent(Event evt)