Class DOMRpcIdentifier
- java.lang.Object
-
- org.opendaylight.controller.md.sal.dom.api.DOMRpcIdentifier
-
@Deprecated(forRemoval=true) public abstract class DOMRpcIdentifier extends Object
Deprecated, for removal: This API element is subject to removal in a future version.UseDOMRpcIdentifier
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 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 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.boolean
equals(Object obj)
Deprecated, for removal: This API element is subject to removal in a future version.static DOMRpcIdentifier
fromMdsal(DOMRpcIdentifier mdsal)
Deprecated, for removal: This API element is subject to removal in a future version.abstract @NonNull YangInstanceIdentifier
getContextReference()
Deprecated, for removal: This API element is subject to removal in a future version.Return the RPC context reference.@NonNull 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.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 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 nullcontextReference
- 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.
-
equals
public final boolean equals(Object obj)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-