Class ReadTransactionSuccess
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<TransactionIdentifier,ReadTransactionSuccess>
org.opendaylight.controller.cluster.access.concepts.Response<TransactionIdentifier,ReadTransactionSuccess>
org.opendaylight.controller.cluster.access.concepts.RequestSuccess<TransactionIdentifier,ReadTransactionSuccess>
org.opendaylight.controller.cluster.access.commands.TransactionSuccess<ReadTransactionSuccess>
org.opendaylight.controller.cluster.access.commands.ReadTransactionSuccess
- All Implemented Interfaces:
Serializable,SliceableMessage,Immutable
public final class ReadTransactionSuccess
extends TransactionSuccess<ReadTransactionSuccess>
implements SliceableMessage
Successful reply to an
ReadTransactionRequest. It indicates presence of requested data via
getData().- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReadTransactionSuccess(TransactionIdentifier identifier, long sequence, Optional<NormalizedNode> data) -
Method Summary
Modifier and TypeMethodDescriptionprotected ReadTransactionSuccesscloneAsVersion(ABIVersion version) Create a copy of this message which will serialize to a stream corresponding to the specified method.protected org.opendaylight.controller.cluster.access.commands.RTSexternalizableProxy(ABIVersion version) Instantiate a serialization proxy for this object for the target ABI version.getData()Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
addToStringAttributes, getSequence, getTarget, getVersion, throwNSE, toString, toVersion, writeReplace
-
Constructor Details
-
ReadTransactionSuccess
public ReadTransactionSuccess(TransactionIdentifier identifier, long sequence, Optional<NormalizedNode> data)
-
-
Method Details
-
getData
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.RTS externalizableProxy(ABIVersion version) Description copied from class:MessageInstantiate a serialization proxy for this object for the target ABI version. Implementations should return different objects for incompatibleABIVersions. This method should never fail, as any compatibility checks should have been done byMessage.cloneAsVersion(ABIVersion).- Specified by:
externalizableProxyin classTransactionSuccess<ReadTransactionSuccess>- Parameters:
version- Requested ABI version- Returns:
- Proxy for this object
-
cloneAsVersion
Description copied from class:MessageCreate a copy of this message which will serialize to a stream corresponding to the specified method. This method should be implemented by the concrete final message class and should invoke the equivalent ofMessage(Message, ABIVersion).- Specified by:
cloneAsVersionin classMessage<TransactionIdentifier,ReadTransactionSuccess> - Parameters:
version- target ABI version- Returns:
- A message with the specified serialization stream
-