Class ReadTransactionSuccess
- java.lang.Object
-
- org.opendaylight.controller.cluster.access.concepts.Message<T,C>
-
- org.opendaylight.controller.cluster.access.concepts.Response<T,C>
-
- org.opendaylight.controller.cluster.access.concepts.RequestSuccess<TransactionIdentifier,T>
-
- org.opendaylight.controller.cluster.access.commands.TransactionSuccess<ReadTransactionSuccess>
-
- org.opendaylight.controller.cluster.access.commands.ReadTransactionSuccess
-
- All Implemented Interfaces:
Serializable,SliceableMessage,Immutable,MutationBehaviour<Immutable>
@Beta public final class ReadTransactionSuccess extends TransactionSuccess<ReadTransactionSuccess> implements SliceableMessage
Successful reply to anReadTransactionRequest. It indicates presence of requested data viagetData().- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadTransactionSuccess(TransactionIdentifier identifier, long sequence, Optional<NormalizedNode<?,?>> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.AbstractTransactionSuccessProxy<ReadTransactionSuccess>externalizableProxy(ABIVersion version)Optional<NormalizedNode<?,?>>getData()-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
addToStringAttributes, getSequence, getTarget, getVersion, toString, toVersion, writeReplace
-
-
-
-
Constructor Detail
-
ReadTransactionSuccess
public ReadTransactionSuccess(TransactionIdentifier identifier, long sequence, Optional<NormalizedNode<?,?>> data)
-
-
Method Detail
-
getData
public Optional<NormalizedNode<?,?>> getData()
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.AbstractTransactionSuccessProxy<ReadTransactionSuccess> externalizableProxy(ABIVersion version)
- Specified by:
externalizableProxyin classTransactionSuccess<ReadTransactionSuccess>
-
cloneAsVersion
protected ReadTransactionSuccess cloneAsVersion(ABIVersion version)
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
-
-