public class RPCServiceMethodDescription extends Object
Constructor and Description |
---|
RPCServiceMethodDescription(String name,
String description,
String operationName,
String structureId,
boolean isResultStandalone)
A new rpcservice method with the given name and description.
|
Modifier and Type | Method and Description |
---|---|
RPCServiceMethodDescription |
addArgument(String name,
String fieldName,
String description,
Class<?> type)
Adds an argument for pvAccess RPC rpcservice.
|
RPCServiceMethodDescription |
addRPCResult(String name,
String fieldName,
String description,
Class<?> type)
Adds a result for the pvAccess RPC Service.
|
Map<String,String> |
getFieldNames()
Get field names
|
String |
getName()
Get name
|
String |
getOperationName()
Get operation name
|
String |
getStructureId()
Get structure id
|
public RPCServiceMethodDescription(String name, String description, String operationName, String structureId, boolean isResultStandalone)
name
- the method namedescription
- the method descriptionoperationName
- operation namestructureId
- pvStructure idisResultStandalone
- is result standalone i.e. image, tablepublic String getName()
public String getStructureId()
public String getOperationName()
public RPCServiceMethodDescription addArgument(String name, String fieldName, String description, Class<?> type)
name
- argument namedescription
- argument descriptiontype
- the expected type of the argumentpublic RPCServiceMethodDescription addRPCResult(String name, String fieldName, String description, Class<?> type)
name
- the result namedescription
- the result descriptionCopyright © 2010–2015. All rights reserved.