public interface AuctionMgmtRemote extends AuctionMgmt
Modifier and Type | Method and Description |
---|---|
void |
workAsync(int count,
long msecs)
An example of performing an async task while client doesn't
wait for result.
|
void |
workSync(int count,
long msecs)
An example of performing a synchronous task while client has to
wait for the result.
|
cancelTimers, checkAuction, closeBidding, getItems, getWinningBid, initTimers, initTimers, removeBid, removeItem
void workSync(int count, long msecs)
count
- number of tasks to performdelay
- time each task should takevoid workAsync(int count, long msecs)
count
- number of tasks to performdelay
- time each task should takeCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.