solar.service.rpc
Interface RpcService
- All Superinterfaces:
- EventHandler, RequestHandler, Service
- All Known Implementing Classes:
- SolarRpcService
- public interface RpcService
- extends Service
A service emulates the remote procedure calls.
- Version:
- $Id: RpcService.java,v 1.6 2003/10/05 18:51:01 glchen Exp $
- Author:
- Guanling Chen
Method Summary |
java.lang.Object |
invoke(Address dest,
java.lang.String handler,
Request req)
Send the request to remote party and wait for the result. |
java.lang.Object |
invoke(Address dest,
java.lang.String handler,
Request req,
long timeout)
Send the request and wait for the result for a fixed period. |
invoke
public java.lang.Object invoke(Address dest,
java.lang.String handler,
Request req)
throws RpcException
- Send the request to remote party and wait for the result.
RpcException
invoke
public java.lang.Object invoke(Address dest,
java.lang.String handler,
Request req,
long timeout)
throws RpcException
- Send the request and wait for the result for a fixed period.
RpcException