| java.lang.Object org.w3c.www.protocol.http.icp.ICPWaiter
ICPWaiter | class ICPWaiter (Code) | | |
Field Summary | |
protected int | id The identifier this waiter is waitin for. | protected Vector | replies |
Method Summary | |
final protected int | getIdentifier() Get the identifier this waiter is waiting on. | protected synchronized ICPReply | getNextReply(long timeout) Get next matching reply until timeout expires.
Parameters: timeout - The timeout to wait until filaure. | protected synchronized void | notifyReply(ICPReply reply) Notify that waiter that a matching reply was received. |
id | protected int id(Code) | | The identifier this waiter is waitin for.
|
replies | protected Vector replies(Code) | | The queue of replies, as they arrive:
|
ICPWaiter | ICPWaiter(int id)(Code) | | |
getIdentifier | final protected int getIdentifier()(Code) | | Get the identifier this waiter is waiting on.
The integer identifier. |
getNextReply | protected synchronized ICPReply getNextReply(long timeout)(Code) | | Get next matching reply until timeout expires.
Parameters: timeout - The timeout to wait until filaure. A ICPReply instance, if available, or nullif timeout has expired. |
notifyReply | protected synchronized void notifyReply(ICPReply reply)(Code) | | Notify that waiter that a matching reply was received.
Parameters: reply - The matching ICP reply. |
|
|