Package com.rabbitmq.tools.jsonrpc
Class ProcedureDescription
java.lang.Object
com.rabbitmq.tools.jsonrpc.ProcedureDescription
Description of a single JSON-RPC procedure.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionintarity()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 parametersbooleanvoidvoidsetIdempotent(boolean idempotent) voidsetJavaReturnType(String javaReturnType) voidvoidPrivate API - used via reflection during parsing/loadingvoidsetSummary(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)
-