solar.service.pack.proto
Class BufferedEvent

java.lang.Object
  |
  +--solar.impl.AbstractAttributeRecord
        |
        +--solar.impl.PlainAttributeRecord
              |
              +--solar.impl.PlainEvent
                    |
                    +--solar.service.pack.proto.BufferedEvent
All Implemented Interfaces:
Adu, AttributeRecord, Event, java.io.Serializable, SolarConstants

public class BufferedEvent
extends PlainEvent

Container event output from buffer manager, for internal use instead of wired transfer.

Version:
$Id: BufferedEvent.java,v 1.3 2003/10/05 18:50:59 glchen Exp $
Author:
Guanling Chen
See Also:
Serialized Form

Field Summary
protected  Address _dest
           
protected  Event _event
           
protected  Id _pubId
           
protected  Id _subId
           
 
Fields inherited from class solar.impl.PlainAttributeRecord
 
Fields inherited from class solar.impl.AbstractAttributeRecord
_attributes
 
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
BufferedEvent(Id pubId, Address dest, Event evt)
           
BufferedEvent(Id pubId, Id subId, Event evt)
           
 
Method Summary
 Address getDestination()
          If return null, then it is multicast event otherwise it is unicast.
 Event getEvent()
          Return the contained event for wire transfer.
 Id getPubId()
          Return the ID of the publisher for this event.
 Id getSubId()
          If return null, then it is multicast event otherwise it is unicast.
 
Methods inherited from class solar.impl.PlainEvent
getEncoding, toBytes
 
Methods inherited from class solar.impl.PlainAttributeRecord
equals, 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
equals, getAttribute, getAttributes, getAttributes, getKeys, getValue, getValues, getValues
 
Methods inherited from interface solar.api.Adu
toString
 

Field Detail

_pubId

protected Id _pubId

_subId

protected Id _subId

_dest

protected Address _dest

_event

protected Event _event
Constructor Detail

BufferedEvent

public BufferedEvent(Id pubId,
                     Id subId,
                     Event evt)

BufferedEvent

public BufferedEvent(Id pubId,
                     Address dest,
                     Event evt)
Method Detail

getPubId

public Id getPubId()
Return the ID of the publisher for this event.


getSubId

public Id getSubId()
If return null, then it is multicast event otherwise it is unicast.


getDestination

public Address getDestination()
If return null, then it is multicast event otherwise it is unicast.


getEvent

public Event getEvent()
Return the contained event for wire transfer.