Class AbstractSuccessProxy<T extends WritableIdentifier,C extends RequestSuccess<T,C>>
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.AbstractSuccessProxy<T,C>
- Type Parameters:
T
- Target identifier type
- All Implemented Interfaces:
Externalizable
,Serializable
public abstract class AbstractSuccessProxy<T extends WritableIdentifier,C extends RequestSuccess<T,C>>
extends Object
Abstract Externalizable proxy for use with
RequestSuccess
subclasses.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract @NonNull C
createSuccess
(@NonNull T target, long sequence) void
protected final Object
protected abstract T
readTarget
(@NonNull DataInput in) void
-
Constructor Details
-
AbstractSuccessProxy
protected AbstractSuccessProxy() -
AbstractSuccessProxy
-
-
Method Details
-
createSuccess
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
readResolve
-
readTarget
- Throws:
IOException
-