solar.service.pack.comm
Class SubscribeEvent

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

public class SubscribeEvent
extends SerializedEvent
implements PackConstants

Periodic subscription event updating the path along multicast tree.

Version:
$Id: SubscribeEvent.java,v 1.5 2003/10/11 02:49:32 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
SubscribeEvent(Event evt)
           
SubscribeEvent(Id pubId, Id subId, java.lang.Object policy, Address lasthop, boolean forward)
           
 
Method Summary
 Address getLastHop()
           
 java.lang.Object getPolicy()
           
 Id getPubId()
           
 Id getSubId()
           
 boolean isForwarding()
           
static boolean isSubscribeEvent(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

SubscribeEvent

public SubscribeEvent(Id pubId,
                      Id subId,
                      java.lang.Object policy,
                      Address lasthop,
                      boolean forward)

SubscribeEvent

public SubscribeEvent(Event evt)
Method Detail

getPubId

public Id getPubId()

getSubId

public Id getSubId()

getPolicy

public java.lang.Object getPolicy()

getLastHop

public Address getLastHop()

isForwarding

public boolean isForwarding()

isSubscribeEvent

public static boolean isSubscribeEvent(Event evt)