|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubscriptionVisitor
The SubscriptionVisitor
provides serial access to subscription.
It follows the same pattern as DataVisitor
except it does not go
through data fields.
NOTE: This interface is formally unrelated to its data analogue to enforce strict type safety; also their state diagrams are not compatible.
Method Summary | |
---|---|
boolean |
hasCapacity()
Returns whether visitor has capacity to efficiently visit next record. |
void |
visitRecord(DataRecord record,
int cipher,
java.lang.String symbol,
long time)
Visits next record. |
Method Detail |
---|
boolean hasCapacity()
NOTE: subscription visitor must process all subscription that is passed to it via visitXXX calls no matter whether it has capacity to do it efficiently.
void visitRecord(DataRecord record, int cipher, java.lang.String symbol, long time)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |