Class Response<T extends WritableIdentifier,C extends Response<T,C>>
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<T,C>
org.opendaylight.controller.cluster.access.concepts.Response<T,C>
- Type Parameters:
T
- Target identifier typeC
- Message type
- All Implemented Interfaces:
Serializable
,Immutable
- Direct Known Subclasses:
RequestFailure
,RequestSuccess
public abstract class Response<T extends WritableIdentifier,C extends Response<T,C>>
extends Message<T,C>
Abstract counterpart to a
Request
. This class should not be instantiated directly, but rather through
RequestFailure
and RequestSuccess
, which provide appropriate specialization. It is visible purely for
the purpose of allowing to check if an object is either of those specializations with a single instanceof check.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interface
Response.SerialForm<T extends WritableIdentifier,
C extends Response<T, C>> -
Method Summary
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
addToStringAttributes, cloneAsVersion, externalizableProxy, getSequence, getTarget, getVersion, throwNSE, toString, toVersion, writeReplace