cgl.narada.service.storage
Class InventoryEvent

java.lang.Object
  extended by cgl.narada.service.storage.InventoryEvent

public class InventoryEvent
extends Object

This is the event that is stored onto stable storage


Constructor Summary
InventoryEvent(byte[] marshalledBytes)
           
InventoryEvent(long sequenceNumber, long previousSequenceNumber, int templateId, EventID eventId, NBEvent nbEvent)
           
 
Method Summary
 byte[] getBytes()
           
 NBEvent getEvent()
           
 EventID getEventId()
           
 long getPreviousSequenceNumber()
           
 long getSequenceNumber()
           
 int getTemplateId()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InventoryEvent

public InventoryEvent(long sequenceNumber,
                      long previousSequenceNumber,
                      int templateId,
                      EventID eventId,
                      NBEvent nbEvent)

InventoryEvent

public InventoryEvent(byte[] marshalledBytes)
Method Detail

getSequenceNumber

public long getSequenceNumber()

getPreviousSequenceNumber

public long getPreviousSequenceNumber()

getTemplateId

public int getTemplateId()

getEventId

public EventID getEventId()

getEvent

public NBEvent getEvent()

toString

public String toString()
Overrides:
toString in class Object

getBytes

public byte[] getBytes()


For comments and suggestions please send e-mail to The NaradaBrokering Project