|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfulmine.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 RPC| Method Detail |
|---|
public Class<? extends IField>[] getArgumentTypes()
IRpcDefinition
getArgumentTypes in interface IRpcDefinitionpublic String getName()
IRpcDefinition
getName in interface IRpcDefinitionpublic String getRemoteContextIdentity()
IRpcDefinition
getRemoteContextIdentity in interface IRpcDefinitionpublic Class<? extends IField> getResultType()
IRpcDefinition
getResultType in interface IRpcDefinitionpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||