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 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 DOMRpcIdentifiercreate(@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.booleanequals(Object obj)Deprecated, for removal: This API element is subject to removal in a future version.static DOMRpcIdentifierfromMdsal(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.YangInstanceIdentifiergetContextReference()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.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.org.opendaylight.mdsal.dom.api.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 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 nullcontextReference- 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.
-
equals
public final boolean equals(Object obj)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-