cgl.narada.event
Interface NBEvent

All Known Implementing Classes:
NBEventImpl

public interface NBEvent

This is the basic template event within the NaradaBrokering system. This event includes among other things, information regarding a)The event's headers b)The event's content synopsis c)The content payload d)The event's properties


Method Summary
 byte[] getBytes()
          Get a byte stream representation of the event
 byte[] getContentPayload()
          Get the content Payload
 int getContentPayloadSize()
          Get the payload size
 Object getContentSynopsis()
          Retrieves the synopis associated with the content
 int getContentSynopsisType()
          Returns the type of the content synopsis
 String getContentType()
          Indicates the type of the content
 DistributionTraces getDistributionTraces()
          Gets the distribution Traces associated with the event
 EventHeaders getEventHeaders()
          Header information pertaining to the event
 EventProperties getEventProperties()
          EventProperties associated with the event
 int getEventType()
          Indicates the type of the event
 boolean hasDistributionTraces()
          Indicates if the event has distribution traces
 boolean hasEventHeaders()
          Indicates if this event has any event headers
 boolean hasEventProperties()
          Indicates if this event has any user-defined properties
 

Method Detail

getEventType

int getEventType()
Indicates the type of the event


getContentType

String getContentType()
Indicates the type of the content


hasEventHeaders

boolean hasEventHeaders()
Indicates if this event has any event headers


getEventHeaders

EventHeaders getEventHeaders()
Header information pertaining to the event


hasEventProperties

boolean hasEventProperties()
Indicates if this event has any user-defined properties


getEventProperties

EventProperties getEventProperties()
EventProperties associated with the event


getContentSynopsisType

int getContentSynopsisType()
Returns the type of the content synopsis


getContentSynopsis

Object getContentSynopsis()
Retrieves the synopis associated with the content


getContentPayloadSize

int getContentPayloadSize()
Get the payload size


getContentPayload

byte[] getContentPayload()
Get the content Payload


hasDistributionTraces

boolean hasDistributionTraces()
Indicates if the event has distribution traces


getDistributionTraces

DistributionTraces getDistributionTraces()
Gets the distribution Traces associated with the event


getBytes

byte[] getBytes()
Get a byte stream representation of the event



For comments and suggestions please send e-mail to The NaradaBrokering Project
rids.ucs.indiana.edu> The NaradaBrokering Project
HTML>