com.sun.grid.jgrid.proxy
Class ComputeServer_Skel

java.lang.Object
  extended bycom.sun.grid.jgrid.proxy.ComputeServer_Skel
All Implemented Interfaces:
java.rmi.server.Skeleton

public final class ComputeServer_Skel
extends java.lang.Object
implements java.rmi.server.Skeleton

This skeleton is modified to disallow calls to the compute(Computable) method. The corresponding stub should translate all such calls into calls on the compute(Computable, String) method.

Since:
0.2.1

Field Summary
private static long interfaceHash
           
private static java.rmi.server.Operation[] operations
           
 
Constructor Summary
ComputeServer_Skel()
           
 
Method Summary
 void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash)
          Dispatchs an incoming RMI call to the server object.
 java.rmi.server.Operation[] getOperations()
          Gets the list of operations supported by this skeleton.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operations

private static final java.rmi.server.Operation[] operations

interfaceHash

private static final long interfaceHash
See Also:
Constant Field Values
Constructor Detail

ComputeServer_Skel

public ComputeServer_Skel()
Method Detail

getOperations

public java.rmi.server.Operation[] getOperations()
Gets the list of operations supported by this skeleton.

Specified by:
getOperations in interface java.rmi.server.Skeleton
Returns:
the list of operations supported by this skeleton

dispatch

public void dispatch(java.rmi.Remote obj,
                     java.rmi.server.RemoteCall call,
                     int opnum,
                     long hash)
              throws java.lang.Exception
Dispatchs an incoming RMI call to the server object.

Specified by:
dispatch in interface java.rmi.server.Skeleton
Parameters:
obj - the server object
call - the RMI call object
opnum - the index of the target method
hash - the has number of the target method
Throws:
java.lang.Exception - thrown if the call parameters are incorrect