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 type
C - Message type
All Implemented Interfaces:
Serializable, Immutable
Direct Known Subclasses:
RequestFailure, RequestSuccess

public abstract sealed class Response<T extends WritableIdentifier,C extends Response<T,C>> extends Message<T,C> permits RequestFailure<T,C>, RequestSuccess<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: