public class RPCServiceDescription extends Object
Constructor and Description |
---|
RPCServiceDescription(String name,
String description,
String hostName,
String channelName,
String methodFieldName,
boolean useNTQuery)
A new rpcservice description with the given rpcservice name and description.
|
Modifier and Type | Method and Description |
---|---|
RPCServiceDescription |
addServiceMethod(RPCServiceMethodDescription rpcServiceMethodDescription)
Adds a rpcservice method to the rpcservice.
|
RPCServiceDescription |
executorService(ExecutorService executorService)
The ExecutorService on which to execute the rpc rpcservice.
|
Map<String,RPCServiceMethodDescription> |
getRPCServiceMethodDescriptions()
Get RPC rpcservice method descriptions
|
public RPCServiceDescription(String name, String description, String hostName, String channelName, String methodFieldName, boolean useNTQuery)
name
- the name of the rpcservicedescription
- a brief descriptionpublic RPCServiceDescription addServiceMethod(RPCServiceMethodDescription rpcServiceMethodDescription)
rpcServiceMethodDescription
- a method descriptionpublic RPCServiceDescription executorService(ExecutorService executorService)
executorService
- an executor rpcservicepublic Map<String,RPCServiceMethodDescription> getRPCServiceMethodDescriptions()
Copyright © 2010–2015. All rights reserved.