Public Member Functions | |
ACSStructuredPushConsumer (ACSRemoteAccess acsra, ACSListenersDispatcher listenersDispatcher, ACSLogRetrieval logRetrieval, boolean binaryFormat) | |
void | connect () |
void | destroy () |
void | disconnect_structured_push_consumer () |
boolean | isInitialized () |
void | offer_change (org.omg.CosNotification.EventType[] added, org.omg.CosNotification.EventType[] removed) throws org.omg.CosNotifyComm.InvalidEventType |
void | push_structured_event (StructuredEvent event) throws org.omg.CosEventComm.Disconnected |
void | setupEvents () |
void | teardownEvents () |
boolean | isConnected () |
boolean | isSuspended () |
void | setSupended (boolean suspended) |
void | close (boolean sync) |
Protected Attributes | |
StructuredProxyPushSupplier | structuredProxyPushSupplier = null |
boolean | isConnected = false |
boolean | isEventSetup = false |
boolean | isInitialized = false |
Private Member Functions | |
void | initialize () |
Private Attributes | |
ACSRemoteAccess | acsra = null |
boolean | binaryFormat |
boolean | suspended = false |
ACSListenersDispatcher | listenersDispatcher = null |
volatile boolean | closed = false |
ACSLogRetrieval | logRetrieval |
It supports binary and XML formats.
|
StructuredPushConsumer constructor comment.
|
|
Close the threads and free all the resources
|
|
Connects the push supplier to the push consumer. |
|
|
|
|
|
Initializes the parser. Creation date: (10/24/2001 12:48:32 PM) |
|
Check if the consumer is connected by reconnecting the channel
|
|
|
|
|
|
|
|
Adds all the logs to a list in a synchronized manner. |
|
Suspend the notification of the incoming logs The logs received while suspended discarded (i.e. lost forever)
|
|
Changes subscription on ConsumerAdmin. |
|
Remove subscription on ConsumerAdmin. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If it is suspended then the incoming messages are discarded instead of being notified to the listeners |