|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridforum.gridrpc.GrpcFunctionHandle
org.apgrid.grpc.ng.NgGrpcFunctionHandle
Ninf-G implementation of GrpcFunctionHandle class.
Provides functions defined in standard interfaces
and also provides Ninf-G special functions.
| Method Summary | |
GrpcExecInfo |
callWith(java.util.Properties sessionAttr,
java.util.List args)
Calls a RemoteFunction with specified arguments. |
void |
cancel()
Cancels a current session. |
void |
dispose()
Disposes this handle. This method must be called when you don't need this handle any more. |
int |
getLocalStatus()
Gets a status code of this handle. A status code is defined in NgGrpcHandle. |
boolean |
isIdle()
Checks if this handle doesn't handle any jobs. |
| Methods inherited from class org.gridforum.gridrpc.GrpcFunctionHandle |
call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public GrpcExecInfo callWith(java.util.Properties sessionAttr,
java.util.List args)
throws GrpcException
GrpcFunctionHandle
callWith in class GrpcFunctionHandleargs - List of arguments for a RemoteFunction.
GrpcExecInfo
GrpcException - if it failed to call a RemoteFunction.
public void cancel()
throws GrpcException
GrpcFunctionHandle
cancel in class GrpcFunctionHandleGrpcException - if it failed to cancel.
public void dispose()
throws GrpcException
GrpcFunctionHandle
dispose in class GrpcFunctionHandleGrpcException - if it failed to dispose.public boolean isIdle()
public int getLocalStatus()
NgGrpcHandle.
NgGrpcHandle
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||