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 Detail

      • create

        public static @NonNull DOMRpcIdentifier create​(@NonNull 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 SchemaPath type,
                                                       @Nullable 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​(DOMRpcIdentifier mdsal)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • toMdsal

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

        public final @NonNull 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 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