solar.service.pack.comm
Class PackEvent

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

public class PackEvent
extends SerializedEvent
implements PackConstants

A wrapper class for PACK event that is used for wire transfer.

Version:
$Id: PackEvent.java,v 1.8 2003/10/08 02:10:47 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.pack.PackConstants
PACK_ACK, PACK_BUFFER_LIMIT, PACK_EVENT, PACK_FORWARD, PACK_LASTHOP, PACK_MEMORY_LIMIT, PACK_POLICY, PACK_PUBID, PACK_SUBID, PACK_SUSPEND_LIMIT
 
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
PackEvent(Event evt)
           
PackEvent(Id pubId, Id subId, Event event, boolean forward)
           
 
Method Summary
 Event getEvent()
           
 Id getPubId()
           
 Id getSubId()
           
 boolean isForwarding()
           
static boolean isPackEvent(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

PackEvent

public PackEvent(Id pubId,
                 Id subId,
                 Event event,
                 boolean forward)

PackEvent

public PackEvent(Event evt)
Method Detail

getPubId

public Id getPubId()

getSubId

public Id getSubId()

getEvent

public Event getEvent()

isForwarding

public boolean isForwarding()

isPackEvent

public static boolean isPackEvent(Event evt)