TAO_CosNotification
2.3.1
|
Defines the interface provided for push-style consumers using the 'batched' event format. More...
import"CosNotifyChannelAdmin.idl";
Public Member Functions | |
void | connect_sequence_push_consumer (in CosNotifyComm::SequencePushConsumer push_consumer) raises (CosEventChannelAdmin::AlreadyConnected, CosEventChannelAdmin::TypeError ) |
Connect a consumer to the proxy. More... | |
void | suspend_connection () raises (ConnectionAlreadyInactive, NotConnected) |
void | resume_connection () raises (ConnectionAlreadyActive, NotConnected) |
![]() | |
CosNotification::EventTypeSeq | obtain_offered_types (in ObtainInfoMode mode) |
void | validate_event_qos (in CosNotification::QoSProperties required_qos, out CosNotification::NamedPropertyRangeSeq available_qos) raises (CosNotification::UnsupportedQoS) |
Validate a list of QoS properties for an event. More... | |
![]() | |
QoSProperties | get_qos () |
Get the current QoS properties. More... | |
void | set_qos (in QoSProperties qos) raises ( UnsupportedQoS ) |
Set the QoS properties. More... | |
void | validate_qos (in QoSProperties required_qos, out NamedPropertyRangeSeq available_qos) raises ( UnsupportedQoS ) |
Validate a set of QoS properties. More... | |
![]() | |
FilterID | add_filter (in Filter new_filter) |
Add a filter. More... | |
void | remove_filter (in FilterID filter) raises ( FilterNotFound ) |
Remove a filter. More... | |
Filter | get_filter (in FilterID filter) raises ( FilterNotFound ) |
Get a filter. More... | |
FilterIDSeq | get_all_filters () |
Get the IDs of all the filters. More... | |
void | remove_all_filters () |
Remove all the filters from this component. More... | |
![]() | |
void | disconnect_sequence_push_supplier () |
The peer has disconnected. More... | |
![]() | |
void | subscription_change (in CosNotification::EventTypeSeq added, in CosNotification::EventTypeSeq removed) raises ( InvalidEventType ) |
Report a change in the list of subscriptions. More... | |
Additional Inherited Members | |
![]() | |
readonly attribute ProxyType | MyType |
The style and event format for this proxy. More... | |
readonly attribute ConsumerAdmin | MyAdmin |
The ConsumerAdmin this proxy belongs to. More... | |
attribute CosNotifyFilter::MappingFilter | priority_filter |
attribute CosNotifyFilter::MappingFilter | lifetime_filter |
Defines the interface provided for push-style consumers using the 'batched' event format.
void CosNotifyChannelAdmin::SequenceProxyPushSupplier::connect_sequence_push_consumer | ( | in CosNotifyComm::SequencePushConsumer | push_consumer | ) | |
raises | ( | CosEventChannelAdmin::AlreadyConnected, | |||
CosEventChannelAdmin::TypeError | |||||
) |
Connect a consumer to the proxy.
The event channel will not push events to the consumer until this operation is invoked.
push_consumer | the callback object used to push events to the application and inform if the event channel is destroyed |
CORBA::BAD_PARAM | if the push_consumer argument is nil |
CosEventChannelAdmin::AlreadyConnected | if the proxy is already connected, i.e. if this operation is invoked more than one time. |
void CosNotifyChannelAdmin::SequenceProxyPushSupplier::resume_connection | ( | ) | ||
raises | ( | ConnectionAlreadyActive, | ||
NotConnected | ||||
) |
Resume the connection, the event channel will start pushing events to the consumer once more
ConnectionAlreadyActive | if the method is invoked while the connection is active |
NotConnected | if the method is invoked before the supplier connects |
void CosNotifyChannelAdmin::SequenceProxyPushSupplier::suspend_connection | ( | ) | ||
raises | ( | ConnectionAlreadyInactive, | ||
NotConnected | ||||
) |
Suspend the connection, the event channel will stop pushing events to the consumer.
ConnectionAlreadyInactive | if the method is invoked while the connection is suspended |
NotConnected | if the method is invoked before the supplier connects |