public abstract class RpcRoutingStrategy extends Object implements org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.yangtools.yang.common.QName>
Modifier and Type | Method and Description |
---|---|
static RpcRoutingStrategy |
from(org.opendaylight.yangtools.yang.model.api.RpcDefinition rpc) |
abstract org.opendaylight.yangtools.yang.common.QName |
getContext()
Returns identity QName which represents RPC Routing context.
|
org.opendaylight.yangtools.yang.common.QName |
getIdentifier() |
abstract org.opendaylight.yangtools.yang.common.QName |
getLeaf()
Returns leaf QName in which RPC Route is stored.
|
static Optional<org.opendaylight.yangtools.yang.common.QName> |
getRoutingContext(org.opendaylight.yangtools.yang.model.api.DataSchemaNode schemaNode) |
abstract boolean |
isContextBasedRouted()
Returns true if RPC is routed by context.
|
public abstract org.opendaylight.yangtools.yang.common.QName getLeaf()
UnsupportedOperationException
- If RPC is not content routed.
(isContextBasedRouted()
returned false
)public abstract org.opendaylight.yangtools.yang.common.QName getContext()
UnsupportedOperationException
- If RPC is not content routed.
(isContextBasedRouted()
returned false
)public final org.opendaylight.yangtools.yang.common.QName getIdentifier()
getIdentifier
in interface org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.yangtools.yang.common.QName>
public abstract boolean isContextBasedRouted()
public static RpcRoutingStrategy from(org.opendaylight.yangtools.yang.model.api.RpcDefinition rpc)
public static Optional<org.opendaylight.yangtools.yang.common.QName> getRoutingContext(org.opendaylight.yangtools.yang.model.api.DataSchemaNode schemaNode)
Copyright © 2019 OpenDaylight. All rights reserved.