|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypedEventLogOperations
TypedEventLog receives and forwards typed events via a CosTypedEventChannelAdmin::TypedEventChannel. TypedEventLog is created by and emits log generated events via the TypedEventLogFactory interface
Method Summary | |
---|---|
TypedLogRecord[] |
typed_query(java.lang.String grammar,
java.lang.String c,
org.omg.DsTypedEventLogAdmin.TypedRecordIteratorHolder i)
The typed_query() operation searches the typed log for all log records that match the given constraint. |
TypedLogRecord[] |
typed_retrieve(long from_time,
int how_many,
org.omg.DsTypedEventLogAdmin.TypedRecordIteratorHolder i)
The typed_retrieve() operation reads the typed log records in the log sequentially starting from any given time. |
Methods inherited from interface org.omg.CosTypedEventChannelAdmin.TypedEventChannelOperations |
---|
destroy, for_consumers, for_suppliers |
Method Detail |
---|
TypedLogRecord[] typed_retrieve(long from_time, int how_many, org.omg.DsTypedEventLogAdmin.TypedRecordIteratorHolder i)
from_time
- Indicates which time to start from.how_many
- Indicates how many log records to retrieve, and the sign of the
how_many parameter indicates the direction (positive for forward retrieval or
negative for backward retrieval).i
- The log records are returned as a sequence and an iterator may be provided
as an out parameter to deal with large retrievals. If the iterator is not needed,
then the iterator will hold a nil object referenceTypedLogRecord[] typed_query(java.lang.String grammar, java.lang.String c, org.omg.DsTypedEventLogAdmin.TypedRecordIteratorHolder i) throws InvalidGrammar, InvalidConstraint
grammar
- The grammar parameter indicates how to interpret the constraint string.
The default grammar is "EXTENDED_TCL" specified in the Notification Service.c
- The constraint parameter specifies which log records the client wishes to
receive.i
- The log records are returned as a sequence and an iterator may be provided as
an out parameter to deal with large query results. If the iterator is not needed,
then the iterator will hold a nil object reference.
InvalidGrammar
- if the implementation does not support the grammar specified.
InvalidConstraint
- if the constraint string is invalid.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |