|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PullDrain
A Conduit drain interface for a poller. The poll and wait calls are thread safe and may be run outside any Conduit thread context. Depending on the injector's registered, they may wait for this drain to continue, so please be careful not to spend too much time away from the poll or wait.
You will not register your own implementation of this with the Conduit. Instead, register a PullDrainContainer.
Version History
EPG - Adapted from autohit - 29 JUN 05
Method Summary | |
---|---|
void |
init(ConduitID yourId)
Initialize the PullDrain. |
Data |
poll()
Poll for an item. |
Data |
waitItem()
Wait for an item. |
Method Detail |
---|
void init(ConduitID yourId) throws SystemException
yourId
- The ConduitID for this PullDrain.
SystemException
ConduitID
Data poll() throws SystemException
SystemException
Data
Data waitItem() throws SystemException
SystemException
Data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |