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