Packagecom.pcbsys.nirvana.client
Classpublic class nProtobufEvent
InheritancenProtobufEvent Inheritance nConsumeEvent Inheritance Object

This class is a Protocol Buffer event.



Public Properties
 PropertyDefined By
 Inheritedattributes : nEventAttributes
Method that returns the nEventAttributes for this event
nConsumeEvent
 InheritedchannelName : String
[read-only] This function will return the name of the channel that the event was delivered from.
nConsumeEvent
 InheriteddataGroupName : String
[read-only] Get the name of the nDataGroup that this event was published to
nConsumeEvent
 InheritedeventData : ByteArray
Gets the event data set for this event
nConsumeEvent
 InheritedeventID : Long
Gets the unique (for its channel) event id value
nConsumeEvent
 InheritedeventTag : String
Gets the event tag set for this event
nConsumeEvent
 InheritedisPersistent : Boolean
Returns the persistent flag.
nConsumeEvent
 InheritedisTransient : Boolean
Returns whether the event is transient.
nConsumeEvent
 Inheritedproperties : nEventProperties
Gets this event's properties
nConsumeEvent
 Inheritedttl : Long
Returns time to live for the event, how long will it be stored on disk in a mixed channel
nConsumeEvent
  typeName : String
[read-only] Returns the type name of the message in the nProtocolBufferEvent as a String
nProtobufEvent
Public Methods
 MethodDefined By
  
nProtobufEvent(data:ByteArray, descriptionName:ByteArray, tag:String)
Constructs a new nProtocolBufferEvent
nProtobufEvent
 Inherited
ack(ackCB:Function = null):void
Sends an ack for this event to the server
nConsumeEvent
 Inherited
hasAttributes():Boolean
Method indicating whether there is an nEventAttributes associated with this event
nConsumeEvent
 Inherited
hasData():Boolean
Checks whether the event has data
nConsumeEvent
 Inherited
hasProperties():Boolean
Checks whether the event has a dictionary
nConsumeEvent
 Inherited
rollback(rollbackCB:Function = null):void
Tells the server that it does not ack this event.
nConsumeEvent
Property Detail
typeNameproperty
typeName:String  [read-only]

Returns the type name of the message in the nProtocolBufferEvent as a String


Implementation
    public function get typeName():String
Constructor Detail
nProtobufEvent()Constructor
public function nProtobufEvent(data:ByteArray, descriptionName:ByteArray, tag:String)

Constructs a new nProtocolBufferEvent

Parameters
data:ByteArray — a ByteArray of the protocol buffer description type name
 
descriptionName:ByteArray — a ByteArray of the constructed message
 
tag:String — the event tag in a ByteArray