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
@Beta public abstract class AbstractSuccessProxy<T extends WritableIdentifier,C extends RequestSuccess<T,C>> extends Object
Abstract Externalizable proxy for use withRequestSuccesssubclasses.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSuccessProxy()protectedAbstractSuccessProxy(@NonNull C success)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract @NonNull CcreateSuccess(@NonNull T target, long sequence)voidreadExternal(ObjectInput in)protected ObjectreadResolve()protected abstract @NonNull TreadTarget(@NonNull DataInput in)voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
AbstractSuccessProxy
protected AbstractSuccessProxy()
-
AbstractSuccessProxy
protected AbstractSuccessProxy(@NonNull C success)
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
readResolve
protected final Object readResolve()
-
readTarget
protected abstract @NonNull T readTarget(@NonNull DataInput in) throws IOException
- Throws:
IOException
-
-