cgl.narada.service.reliable.events
Class RdRecoveryResponse

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

public class RdRecoveryResponse
extends Object

This is a request initiated by an entity to recover from failures or prolonged disconnects.


Constructor Summary
RdRecoveryResponse(byte[] marshalledBytes)
           
RdRecoveryResponse(int templateId, int entityId, long recoveryReqId, RdPublisherRecoveryInfo publisherRecoveryInfo)
           
RdRecoveryResponse(int templateId, int entityId, long recoveryReqId, RdSubscriberRecoveryInfo subscriberRecoveryInfo)
           
 
Method Summary
 byte[] getBytes()
           
 int getEntityId()
           
 RdPublisherRecoveryInfo getPublisherRecoveryInfo()
           
 long getRecoveryRequestId()
           
 RdSubscriberRecoveryInfo getSubscriberRecoveryInfo()
           
 int getTemplateId()
           
 boolean hasPublisherRecoveryInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdRecoveryResponse

public RdRecoveryResponse(int templateId,
                          int entityId,
                          long recoveryReqId,
                          RdPublisherRecoveryInfo publisherRecoveryInfo)

RdRecoveryResponse

public RdRecoveryResponse(int templateId,
                          int entityId,
                          long recoveryReqId,
                          RdSubscriberRecoveryInfo subscriberRecoveryInfo)

RdRecoveryResponse

public RdRecoveryResponse(byte[] marshalledBytes)
Method Detail

getTemplateId

public int getTemplateId()

getEntityId

public int getEntityId()

hasPublisherRecoveryInfo

public boolean hasPublisherRecoveryInfo()

getRecoveryRequestId

public long getRecoveryRequestId()

getPublisherRecoveryInfo

public RdPublisherRecoveryInfo getPublisherRecoveryInfo()

getSubscriberRecoveryInfo

public RdSubscriberRecoveryInfo getSubscriberRecoveryInfo()

getBytes

public byte[] getBytes()


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