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
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 |
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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface solar.api.Adu |
toString |
_pubId
protected Id _pubId
_subId
protected Id _subId
_dest
protected Address _dest
_event
protected Event _event
BufferedEvent
public BufferedEvent(Id pubId,
Id subId,
Event evt)
BufferedEvent
public BufferedEvent(Id pubId,
Address dest,
Event evt)
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.