|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fulmine.rpc.RpcDefinition
public final class RpcDefinition
A simple implementation of an IRpcDefinition
.
Constructor Summary | |
---|---|
RpcDefinition(Class<? extends IField> resultType,
String name,
Class<? extends IField>... argTypes)
Construct the definition with all relevant attributes |
|
RpcDefinition(String definitionAsString)
Construct the definition by parsing a string representation of the RPC definition. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Class<? extends IField>[] |
getArgumentTypes()
Get the argument types, in order, that are required by the RPC |
String |
getName()
Get the name of the RPC |
String |
getRemoteContextIdentity()
Get the identity of the remote context that this RPC can be invoked in. |
Class<? extends IField> |
getResultType()
Get the result type for this RPC |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RpcDefinition(Class<? extends IField> resultType, String name, Class<? extends IField>... argTypes)
resultType
- the result typename
- the RPC nameargTypes
- the argument types, in orderpublic RpcDefinition(String definitionAsString)
result name(args) e.g. BooleanField foo(StringField, IntegerField)
definitionAsString
- the string definition of the RPCMethod Detail |
---|
public Class<? extends IField>[] getArgumentTypes()
IRpcDefinition
getArgumentTypes
in interface IRpcDefinition
public String getName()
IRpcDefinition
getName
in interface IRpcDefinition
public String getRemoteContextIdentity()
IRpcDefinition
getRemoteContextIdentity
in interface IRpcDefinition
public Class<? extends IField> getResultType()
IRpcDefinition
getResultType
in interface IRpcDefinition
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |