public interface RpcRequest
RpcRequest describes an RPC request.
This interface is used to embed RPC request information into a log message.
| Modifier and Type | Method and Description |
|---|---|
Object |
getInputForLog()
Return an object that indicates an RPC input.
|
String |
getName()
Return the name of the RPC.
|
boolean |
needErrorLog(Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
Determine whether the RPC failure should be logged or not.
|
String getName()
Object getInputForLog()
Returned object is embedded into a log message.
boolean needErrorLog(@Nonnull Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
errors - A collection of RPC errors returned by the RPC
implementation.true if the RPC failure should be logged.
false otherwise.Copyright © 2018 OpenDaylight. All rights reserved.