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.UseDOMRpcIdentifierinstead.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 DOMRpcIdentifiercreate(@NonNull SchemaPath type)Deprecated, for removal: This API element is subject to removal in a future version.Create a global RPC identifier.static @NonNull DOMRpcIdentifiercreate(@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.booleanequals(Object obj)Deprecated, for removal: This API element is subject to removal in a future version.static DOMRpcIdentifierfromMdsal(DOMRpcIdentifier mdsal)Deprecated, for removal: This API element is subject to removal in a future version.abstract @NonNull YangInstanceIdentifiergetContextReference()Deprecated, for removal: This API element is subject to removal in a future version.Return the RPC context reference.@NonNull SchemaPathgetType()Deprecated, for removal: This API element is subject to removal in a future version.Return the RPC type.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.DOMRpcIdentifiertoMdsal()Deprecated, for removal: This API element is subject to removal in a future version.StringtoString()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.
-
-