Package com.rabbitmq.tools.jsonrpc
Class ProcedureDescription
java.lang.Object
com.rabbitmq.tools.jsonrpc.ProcedureDescription
Description of a single JSON-RPC procedure.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionint
arity()
Retrieves the parameter count for this proceduregetHelp()
getName()
Getter for return typeClass
<?> Private API - used to get the reflected method object, for serversGets an array of parameter descriptions for all this procedure's parametersboolean
void
void
setIdempotent
(boolean idempotent) void
setJavaReturnType
(String javaReturnType) void
void
Private API - used via reflection during parsing/loadingvoid
setSummary
(String summary)
-
Constructor Details
-
ProcedureDescription
-
ProcedureDescription
-
ProcedureDescription
public ProcedureDescription()
-
-
Method Details
-
getReturn
Getter for return type -
setReturn
Private API - used via reflection during parsing/loading -
internal_getMethod
Private API - used to get the reflected method object, for servers -
getJavaReturnType
-
setJavaReturnType
-
getReturnType
-
internal_getParams
Gets an array of parameter descriptions for all this procedure's parameters -
arity
public int arity()Retrieves the parameter count for this procedure -
getParams
-
getName
-
getSummary
-
getHelp
-
isIdempotent
public boolean isIdempotent() -
setName
-
setSummary
-
setHelp
-
setIdempotent
public void setIdempotent(boolean idempotent)
-