Class DOMRpcIdentifier


  • @Deprecated(forRemoval=true)
    public abstract class DOMRpcIdentifier
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use DOMRpcIdentifier instead.
    Identifier of a RPC context. This is an extension of the YANG RPC, which always has global context. It allows an RPC to have a instance identifier attached, so that there can be multiple implementations bound to different contexts concurrently.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static @NonNull DOMRpcIdentifier create​(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath type)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a global RPC identifier.
      static @NonNull DOMRpcIdentifier create​(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath type, @Nullable org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier contextReference)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create an RPC identifier with a particular context reference.
      boolean equals​(Object obj)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static DOMRpcIdentifier fromMdsal​(org.opendaylight.mdsal.dom.api.DOMRpcIdentifier mdsal)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      abstract @NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getContextReference()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return the RPC context reference.
      @NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return the RPC type.
      int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      org.opendaylight.mdsal.dom.api.DOMRpcIdentifier toMdsal()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Detail

      • create

        public static @NonNull DOMRpcIdentifier create​(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath type)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create a global RPC identifier.
        Parameters:
        type - RPC type, SchemaPath of its definition, may not be null
        Returns:
        A global RPC identifier, guaranteed to be non-null.
      • create

        public static @NonNull DOMRpcIdentifier create​(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath type,
                                                       @Nullable org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier contextReference)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create an RPC identifier with a particular context reference.
        Parameters:
        type - RPC type, SchemaPath of its definition, may not be null
        contextReference - Context reference, null means a global RPC identifier.
        Returns:
        A global RPC identifier, guaranteed to be non-null.
      • fromMdsal

        public static DOMRpcIdentifier fromMdsal​(org.opendaylight.mdsal.dom.api.DOMRpcIdentifier mdsal)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • toMdsal

        public org.opendaylight.mdsal.dom.api.DOMRpcIdentifier toMdsal()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getType

        public final @NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath getType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Return the RPC type.
        Returns:
        RPC type.
      • getContextReference

        public abstract @NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getContextReference()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Return the RPC context reference. Null value indicates global context.
        Returns:
        RPC context reference.
      • hashCode

        public final int hashCode()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        toString in class Object