| |
|
| java.lang.Object com.sun.midp.content.InvocStoreCancel
InvocStoreCancel | class InvocStoreCancel implements Runnable(Code) | | A test thread to test cancel and get interactions.
The test strategy is to block for an Invocation
and then see.
Did the cancel unblock the request?
|
Method Summary | |
public int | check() Check the counters and return the level. | void | reset() Reset the counters. | public void | run() Loop getting Invocations in the standard form. | void | stop() Called to stop this thread. |
numNotPending | public int numNotPending(Code) | | The number of null results.
|
numPending | public int numPending(Code) | | The number of non-null results.
|
numTry | public int numTry(Code) | | The number of gets attempted.
|
InvocStoreCancel | InvocStoreCancel(boolean type, AppProxy appl)(Code) | | Construct a new context.
Parameters: type - true to blocking using get; false to use listen. |
check | public int check()(Code) | | Check the counters and return the level.
the number of transactions. |
reset | void reset()(Code) | | Reset the counters.
|
run | public void run()(Code) | | Loop getting Invocations in the standard form.
Keep track of how many are received that non-null
and null.
|
stop | void stop()(Code) | | Called to stop this thread.
|
|
|
|