com.sentilla.net.rpc
Class RemoteService

java.lang.Object
  extended by com.sentilla.net.rpc.RemoteService

public class RemoteService
extends Object

Private: for Sentilla internal use only.

This service receives Procedures from callers, runs the procedure, and returns the results via a given return factory. The callee is expected to run RemoteService, and the caller is excepted to use RemoteInvoker. RemoteInvoker manages Call and Return objects on behalf of the caller RemoteService.runService manages Call and Return objects on behalf of the callee.


Nested Class Summary
static class RemoteService.Call
          Invocation data sent from the caller to the callee.
static class RemoteService.Return
          Result data sent from the callee to the caller.
 
Constructor Summary
RemoteService()
           
 
Method Summary
static void runService()
          The callee should run runService to receive and process Call objects and send back Return objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteService

public RemoteService()
Method Detail

runService

public static void runService()
The callee should run runService to receive and process Call objects and send back Return objects. The caller should use RemoteInvoker.



Copyright © 2007 Sentilla Corporation. All Rights Reserved.