cgl.narada.service.reliable.events
Class RdNegotiationsServiceEvent

java.lang.Object
  extended by cgl.narada.service.reliable.events.RdNegotiationsServiceEvent

public class RdNegotiationsServiceEvent
extends Object

The negotiation event issued by the reliable delivery service to ack (or nak) the reception (or lack of delivery) of a previously published event.


Constructor Summary
RdNegotiationsServiceEvent(byte[] marshalledBytes)
           
RdNegotiationsServiceEvent(int entityId, int templateId, boolean isAck, boolean isStandaloneAck, int catenationNumber)
           
 
Method Summary
 int getAckCatenationNumber()
          Retrieves the ack catenation number
 byte[] getBytes()
           
 int getEntityId()
           
 int getNakCatenationNumber()
          Retrieves the Nak catenation number
 int getTemplateId()
           
 boolean isAck()
          Indicates if this is an ACK
 boolean isStandaloneAck()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdNegotiationsServiceEvent

public RdNegotiationsServiceEvent(int entityId,
                                  int templateId,
                                  boolean isAck,
                                  boolean isStandaloneAck,
                                  int catenationNumber)

RdNegotiationsServiceEvent

public RdNegotiationsServiceEvent(byte[] marshalledBytes)
Method Detail

isAck

public boolean isAck()
Indicates if this is an ACK


isStandaloneAck

public boolean isStandaloneAck()

getAckCatenationNumber

public int getAckCatenationNumber()
Retrieves the ack catenation number


getNakCatenationNumber

public int getNakCatenationNumber()
Retrieves the Nak catenation number


getEntityId

public int getEntityId()

getTemplateId

public int getTemplateId()

getBytes

public byte[] getBytes()


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