|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eaio.nativecall.NativeCall | +--com.eaio.nativecall.VoidCall
A VoidCall instance encapsulates an operating system method that returns nothing.
Constructor Summary | |
VoidCall(String function)
Constructor for VoidCall. |
|
VoidCall(String module,
String function)
Constructor for VoidCall. |
Method Summary | |
void |
executeCall()
Calls the function. |
void |
executeCall(Object param)
Calls the function using the given parameter. |
void |
executeCall(Object[] params)
Calls the function using the given parameters. |
Methods inherited from class com.eaio.nativecall.NativeCall |
check, checkParam, destroy, equals, finalize, getLastError, getLastErrorCode, hashCode, init, toString, toStringBuffer |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VoidCall(String function) throws SecurityException, IllegalArgumentException, NullPointerException
NativeCall.NativeCall(String)
public VoidCall(String module, String function) throws SecurityException, IllegalArgumentException, NullPointerException
NativeCall.NativeCall(String, String)
Method Detail |
public void executeCall()
Updates the error code field. See NativeCall.getLastError()
.
public void executeCall(Object param)
Updates the error code field. See NativeCall.getLastError()
.
param
- the parameter, may be null
executeCall(Object[])
public void executeCall(Object[] params)
Updates the error code field. See NativeCall.getLastError()
.
During this operation, the contents of the array might be changed.
params
- the parameter array, may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |