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
,MutationBehaviour<Immutable>
- Direct Known Subclasses:
RequestFailure
,RequestSuccess
@Beta public abstract class Response<T extends WritableIdentifier,C extends Response<T,C>> extends Message<T,C>
Abstract counterpart to aRequest
. This class should not be instantiated directly, but rather throughRequestFailure
andRequestSuccess
, 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.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected 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, toString, toVersion, writeReplace
-
-