fulmine.rpc
Interface IRpcDefinition

All Known Implementing Classes:
RpcDefinition

public interface IRpcDefinition

Expresses a specific Remote Procedure Call definition. Procedures can be overloaded (have different arguments) but the result type cannot be overloaded. The 'void' result type is not supported.

Definitions are compared for equality based on their name and argument types only.

Author:
Ramon Servadei
See Also:
IRpcManager, IRpcPublishOperations.publishProdedure(IRpcHandler, IRpcDefinition)

Method Summary
 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
 

Method Detail

getRemoteContextIdentity

String getRemoteContextIdentity()
Get the identity of the remote context that this RPC can be invoked in.

Returns:
the identity of the remote context that this RPC can be invoked in

getName

String getName()
Get the name of the RPC

Returns:
the name of the RPC

getArgumentTypes

Class<? extends IField>[] getArgumentTypes()
Get the argument types, in order, that are required by the RPC

Returns:
the argument types, in order, that are required by the RPC

getResultType

Class<? extends IField> getResultType()
Get the result type for this RPC

Returns:
the result type for this RPC


Copyright © 2007-2009. All Rights Reserved.