|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridforum.gridrpc.GrpcObjectHandle
org.apgrid.grpc.ng.NgGrpcObjectHandle
Ninf-G implementation of GrpcObjectHandle class.
Provides functions defined in standard interfaces
and also provides Ninf-G special functions.
| Method Summary | |
void |
cancel()
Cancels a current session. |
void |
dispose()
Dispose 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. |
GrpcExecInfo |
invokeWith(java.lang.String methodName,
java.util.Properties sessionAttr,
java.util.List args)
Calls a RemoteMethod with specified arguments. You have to specify a name of method. |
boolean |
isIdle()
Checks if this handle doesn't handle any jobs. |
| Methods inherited from class org.gridforum.gridrpc.GrpcObjectHandle |
invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public GrpcExecInfo invokeWith(java.lang.String methodName,
java.util.Properties sessionAttr,
java.util.List args)
throws GrpcException
GrpcObjectHandle
invokeWith in class GrpcObjectHandleargs - List of arguments for a RemoteMethod.
GrpcExecInfo
GrpcException - if it failed to call a RemoteMethod.
public void cancel()
throws GrpcException
GrpcObjectHandle
cancel in class GrpcObjectHandleGrpcException - if it failed to cancel.
public void dispose()
throws GrpcException
GrpcObjectHandle
dispose in class GrpcObjectHandleGrpcException - 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 | ||||||||||