Package io.pravega.shared.protocol.netty
Class DelegatingReplyProcessor
- java.lang.Object
-
- io.pravega.shared.protocol.netty.DelegatingReplyProcessor
-
- All Implemented Interfaces:
ReplyProcessor
public abstract class DelegatingReplyProcessor extends java.lang.Object implements ReplyProcessor
A ReplyProcessor that hands off all implementation to another ReplyProcessor. This is useful for creating subclasses that only handle a subset of Commands.
-
-
Constructor Summary
Constructors Constructor Description DelegatingReplyProcessor()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.pravega.shared.protocol.netty.ReplyProcessor
authTokenCheckFailed, connectionDropped, errorMessage, hello, operationUnsupported, process, processingFailure, segmentIsTruncated, segmentTruncated, tableEntriesDeltaRead, tableEntriesRead, tableEntriesUpdated, tableKeyBadVersion, tableKeyDoesNotExist, tableKeysRead, tableKeysRemoved, tableRead, tableSegmentNotEmpty
-
-
-
-
Method Detail
-
getNextReplyProcessor
public abstract ReplyProcessor getNextReplyProcessor()
-
wrongHost
public void wrongHost(WireCommands.WrongHost wrongHost)
- Specified by:
wrongHostin interfaceReplyProcessor
-
segmentIsSealed
public void segmentIsSealed(WireCommands.SegmentIsSealed segmentIsSealed)
- Specified by:
segmentIsSealedin interfaceReplyProcessor
-
segmentAlreadyExists
public void segmentAlreadyExists(WireCommands.SegmentAlreadyExists segmentAlreadyExists)
- Specified by:
segmentAlreadyExistsin interfaceReplyProcessor
-
noSuchSegment
public void noSuchSegment(WireCommands.NoSuchSegment noSuchSegment)
- Specified by:
noSuchSegmentin interfaceReplyProcessor
-
invalidEventNumber
public void invalidEventNumber(WireCommands.InvalidEventNumber invalidEventNumber)
- Specified by:
invalidEventNumberin interfaceReplyProcessor
-
appendSetup
public void appendSetup(WireCommands.AppendSetup appendSetup)
- Specified by:
appendSetupin interfaceReplyProcessor
-
dataAppended
public void dataAppended(WireCommands.DataAppended dataAppended)
- Specified by:
dataAppendedin interfaceReplyProcessor
-
conditionalCheckFailed
public void conditionalCheckFailed(WireCommands.ConditionalCheckFailed dataNotAppended)
- Specified by:
conditionalCheckFailedin interfaceReplyProcessor
-
segmentRead
public void segmentRead(WireCommands.SegmentRead data)
- Specified by:
segmentReadin interfaceReplyProcessor
-
segmentAttributeUpdated
public void segmentAttributeUpdated(WireCommands.SegmentAttributeUpdated segmentAttributeUpdated)
- Specified by:
segmentAttributeUpdatedin interfaceReplyProcessor
-
segmentAttribute
public void segmentAttribute(WireCommands.SegmentAttribute segmentAttribute)
- Specified by:
segmentAttributein interfaceReplyProcessor
-
streamSegmentInfo
public void streamSegmentInfo(WireCommands.StreamSegmentInfo streamInfo)
- Specified by:
streamSegmentInfoin interfaceReplyProcessor
-
segmentCreated
public void segmentCreated(WireCommands.SegmentCreated streamsSegmentCreated)
- Specified by:
segmentCreatedin interfaceReplyProcessor
-
segmentsMerged
public void segmentsMerged(WireCommands.SegmentsMerged segmentsMerged)
- Specified by:
segmentsMergedin interfaceReplyProcessor
-
segmentSealed
public void segmentSealed(WireCommands.SegmentSealed segmentSealed)
- Specified by:
segmentSealedin interfaceReplyProcessor
-
segmentDeleted
public void segmentDeleted(WireCommands.SegmentDeleted segmentDeleted)
- Specified by:
segmentDeletedin interfaceReplyProcessor
-
segmentPolicyUpdated
public void segmentPolicyUpdated(WireCommands.SegmentPolicyUpdated segment)
- Specified by:
segmentPolicyUpdatedin interfaceReplyProcessor
-
keepAlive
public void keepAlive(WireCommands.KeepAlive keepAlive)
- Specified by:
keepAlivein interfaceReplyProcessor
-
-