All Implemented Interfaces:
Serializable, SliceableMessage, org.opendaylight.yangtools.concepts.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 Details

    • ReadTransactionSuccess

      public ReadTransactionSuccess(TransactionIdentifier identifier, long sequence, Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode> data)
  • Method Details

    • getData

      public Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode> getData()
    • externalizableProxy

      protected org.opendaylight.controller.cluster.access.commands.RTS externalizableProxy(ABIVersion version)
      Description copied from class: Message
      Instantiate a serialization proxy for this object for the target ABI version. Implementations should return different objects for incompatible ABIVersions. This method should never fail, as any compatibility checks should have been done by Message.cloneAsVersion(ABIVersion).
      Specified by:
      externalizableProxy in class TransactionSuccess<ReadTransactionSuccess>
      Parameters:
      version - Requested ABI version
      Returns:
      Proxy for this object
    • cloneAsVersion

      protected ReadTransactionSuccess cloneAsVersion(ABIVersion version)
      Description copied from class: Message
      Create 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 of Message(Message, ABIVersion).
      Specified by:
      cloneAsVersion in class Message<TransactionIdentifier,ReadTransactionSuccess>
      Parameters:
      version - target ABI version
      Returns:
      A message with the specified serialization stream