cgl.narada.service.replay.impl
Class ReplayRequestEvent

java.lang.Object
  extended by cgl.narada.service.replay.impl.ReplayRequestEvent
All Implemented Interfaces:
ReplayRequest

public class ReplayRequestEvent
extends Object
implements ReplayRequest


Constructor Summary
ReplayRequestEvent(byte[] marshalledBytes)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, boolean requestSequencesAndTimestamps)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, boolean requestForTimestamp, long sequenceNumber)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, long[] listOfSequencesToReplay)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, long sequenceStart, long sequenceEnd)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, long startTimestamp, long endTimestamp, boolean hasTimestampRange)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, long sequenceStart, long sequenceEnd, Profile[] constraints)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, String replayTopic, boolean hasStartingSequenceAndEndingTimestamp, long startingSequence, long endingTimestamp)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, String replayTopic, long[] listOfSequencesToReplay)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, String replayTopic, long sequenceStart, long sequenceEnd)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, String replayTopic, long startTimestamp, long endTimestamp, boolean replayWithTimestampRange)
           
ReplayRequestEvent(int templateId, int entityId, String replayRequestIdentifier, String replayTopic, long sequenceStart, long sequenceEnd, Profile[] constraints)
           
 
Method Summary
 byte[] getBytes()
           
 long getEndingSequenceNumber()
           
 long getEndingTimestamp()
           
 long getEndTimestamp()
           
 int getEntityId()
           
 long[] getListOfSequencesToReplay()
           
 Profile[] getListOfSpecifiedConstraints()
           
 String getModuleName()
           
 String getReplayIdentifier()
           
 String getReplayTopic()
           
 long getSequenceNumber()
           
 long getStartingSequence()
           
 long getStartingSequenceNumber()
           
 long getStartTimestamp()
           
 int getTemplateId()
           
 boolean hasListOfSequencesToReplay()
           
 boolean hasReplayTopic()
           
 boolean hasReplayWithTimestampRange()
           
 boolean hasRequestForTimestamp()
           
 boolean hasRequestIdentifier()
           
 boolean hasRequestSequencesAndTimestamps()
           
 boolean hasSpecifiedConstraints()
           
 boolean hasSpecifiedSequenceRange()
           
 boolean hasStartingSequenceAndEndingTimestamp()
           
 boolean hasTimestampRange()
           
static void main(String[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplayRequestEvent

public ReplayRequestEvent(byte[] marshalledBytes)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          long[] listOfSequencesToReplay)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          long sequenceStart,
                          long sequenceEnd)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          long sequenceStart,
                          long sequenceEnd,
                          Profile[] constraints)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          boolean requestForTimestamp,
                          long sequenceNumber)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          String replayTopic,
                          boolean hasStartingSequenceAndEndingTimestamp,
                          long startingSequence,
                          long endingTimestamp)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          String replayTopic,
                          long startTimestamp,
                          long endTimestamp,
                          boolean replayWithTimestampRange)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          long startTimestamp,
                          long endTimestamp,
                          boolean hasTimestampRange)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          boolean requestSequencesAndTimestamps)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          String replayTopic,
                          long[] listOfSequencesToReplay)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          String replayTopic,
                          long sequenceStart,
                          long sequenceEnd)

ReplayRequestEvent

public ReplayRequestEvent(int templateId,
                          int entityId,
                          String replayRequestIdentifier,
                          String replayTopic,
                          long sequenceStart,
                          long sequenceEnd,
                          Profile[] constraints)
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface ReplayRequest

getTemplateId

public int getTemplateId()
Specified by:
getTemplateId in interface ReplayRequest

getEntityId

public int getEntityId()
Specified by:
getEntityId in interface ReplayRequest

hasRequestIdentifier

public boolean hasRequestIdentifier()
Specified by:
hasRequestIdentifier in interface ReplayRequest

getReplayIdentifier

public String getReplayIdentifier()
Specified by:
getReplayIdentifier in interface ReplayRequest

hasReplayTopic

public boolean hasReplayTopic()
Specified by:
hasReplayTopic in interface ReplayRequest

getReplayTopic

public String getReplayTopic()
Specified by:
getReplayTopic in interface ReplayRequest

hasListOfSequencesToReplay

public boolean hasListOfSequencesToReplay()
Specified by:
hasListOfSequencesToReplay in interface ReplayRequest

getListOfSequencesToReplay

public long[] getListOfSequencesToReplay()
Specified by:
getListOfSequencesToReplay in interface ReplayRequest

hasSpecifiedSequenceRange

public boolean hasSpecifiedSequenceRange()
Specified by:
hasSpecifiedSequenceRange in interface ReplayRequest

getStartingSequenceNumber

public long getStartingSequenceNumber()
Specified by:
getStartingSequenceNumber in interface ReplayRequest

getEndingSequenceNumber

public long getEndingSequenceNumber()
Specified by:
getEndingSequenceNumber in interface ReplayRequest

hasSpecifiedConstraints

public boolean hasSpecifiedConstraints()
Specified by:
hasSpecifiedConstraints in interface ReplayRequest

getListOfSpecifiedConstraints

public Profile[] getListOfSpecifiedConstraints()
Specified by:
getListOfSpecifiedConstraints in interface ReplayRequest

hasReplayWithTimestampRange

public boolean hasReplayWithTimestampRange()
Specified by:
hasReplayWithTimestampRange in interface ReplayRequest

hasTimestampRange

public boolean hasTimestampRange()
Specified by:
hasTimestampRange in interface ReplayRequest

getStartTimestamp

public long getStartTimestamp()
Specified by:
getStartTimestamp in interface ReplayRequest

getEndTimestamp

public long getEndTimestamp()
Specified by:
getEndTimestamp in interface ReplayRequest

hasStartingSequenceAndEndingTimestamp

public boolean hasStartingSequenceAndEndingTimestamp()
Specified by:
hasStartingSequenceAndEndingTimestamp in interface ReplayRequest

getStartingSequence

public long getStartingSequence()
Specified by:
getStartingSequence in interface ReplayRequest

getEndingTimestamp

public long getEndingTimestamp()
Specified by:
getEndingTimestamp in interface ReplayRequest

hasRequestForTimestamp

public boolean hasRequestForTimestamp()
Specified by:
hasRequestForTimestamp in interface ReplayRequest

getSequenceNumber

public long getSequenceNumber()
Specified by:
getSequenceNumber in interface ReplayRequest

hasRequestSequencesAndTimestamps

public boolean hasRequestSequencesAndTimestamps()
Specified by:
hasRequestSequencesAndTimestamps in interface ReplayRequest

getModuleName

public String getModuleName()

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)


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