solar.service.pubsub.comm
Class PubEvent

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

public class PubEvent
extends SerializedEvent
implements PubSubConstants

A wrapper class for published event.

Version:
$Id: PubEvent.java,v 1.1 2003/10/01 06:48:51 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.pubsub.PubSubConstants
PUBSUB_EVENT, PUBSUB_PUBID, PUBSUB_SUBID
 
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
PubEvent(Event evt)
           
PubEvent(Id pubId, Id subId, Event event)
           
 
Method Summary
 Event getEvent()
           
 Id getPubId()
           
 Id getSubId()
           
static boolean isPubEvent(Event evt)
           
 void setSubId(Id subId)
           
 
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

PubEvent

public PubEvent(Id pubId,
                Id subId,
                Event event)

PubEvent

public PubEvent(Event evt)
Method Detail

getPubId

public Id getPubId()

getSubId

public Id getSubId()

setSubId

public void setSubId(Id subId)

getEvent

public Event getEvent()

isPubEvent

public static boolean isPubEvent(Event evt)