solar.service.routing.comm
Class RoutingEvent

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

public class RoutingEvent
extends SerializedEvent
implements RoutingConstants

A periodic event containing routing information.

Version:
$Id: RoutingEvent.java,v 1.3 2003/10/05 18:51:01 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.routing.RoutingConstants
ROUTING_HOST, ROUTING_INTERVAL, ROUTING_LASTHOP, ROUTING_SOURCE
 
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
RoutingEvent(Address source, Address host, Address lasthop)
           
RoutingEvent(Event evt)
           
 
Method Summary
 Address getHost()
           
 Address getLastHop()
           
 Address getSource()
           
static boolean isRoutingEvent(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

RoutingEvent

public RoutingEvent(Address source,
                    Address host,
                    Address lasthop)

RoutingEvent

public RoutingEvent(Event evt)
Method Detail

getSource

public Address getSource()

getHost

public Address getHost()

getLastHop

public Address getLastHop()

isRoutingEvent

public static boolean isRoutingEvent(Event evt)