The nConsumeEvent object
is essentially the object that is published to a Nirvana
channel, queue or P2P service. It is stored by the server
and then passed to consumers as and when required. Events
can be constructed with simple byte array data, or with
more complex data structures such as using Event
Properties or XML.
To construct a simple event object for publishing to
a channel, here is an exmaple of what to call for a
simple byte array event:
nConsumeEvent evt1 = new nConsumeEvent( "String",
"message".getBytes() );
For further information on the use of event dictionaries
please see the channel
keys and filtering
documentation.