📄 cosnotifychanneladmin.idl
字号:
, CosNotifyComm::StructuredPullSupplier
{
/// Connect a consumer to the proxy
/**
* The consumer cannot pull events until this operation is invoked.
*
* @param pull_consumer the callback object used to inform the
* application if the event channel is destroyed. If the
* argument is nil no destroy notification is provided.
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_structured_pull_consumer (
in CosNotifyComm::StructuredPullConsumer pull_consumer)
raises(CosEventChannelAdmin::AlreadyConnected);
};
/**
* @interface SequenceProxyPullSupplier
*
* @brief Defines the interface provided for pull-style consumer
* using the 'batched' event format.
*/
interface SequenceProxyPullSupplier
: ProxySupplier
, CosNotifyComm::SequencePullSupplier
{
/// Connect a consumer to the proxy
/**
* The consumer cannot pull events until this operation is invoked.
*
* @param pull_consumer the callback object used to inform the
* application if the event channel is destroyed. If the
* argument is nil no destroy notification is provided.
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_sequence_pull_consumer (
in CosNotifyComm::SequencePullConsumer pull_consumer)
raises(CosEventChannelAdmin::AlreadyConnected);
};
/**
* @interface ProxyPullConsumer
*
* @brief Defines the interface provided for pull-style suppliers
* using the 'any' event format.
*/
interface ProxyPullConsumer
: ProxyConsumer
, CosNotifyComm::PullConsumer
{
/// Connect a supplier to the proxy
/**
* The event channel will not pull events from the supplier until
* this operation is invoked.
*
* @param pull_supplier the callback object used to inform the
* application if the event channel is destroyed.
* @throws CORBA::BAD_PARAM if the pull_supplier argument is nil
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_any_pull_supplier (
in CosEventComm::PullSupplier pull_supplier)
raises(CosEventChannelAdmin::AlreadyConnected,
CosEventChannelAdmin::TypeError );
/// Suspend the connection, the event channel will stop pulling
/// events.
/**
* @throws ConnectionAlreadyInactive if the method is invoked
* while the connection is suspended
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void suspend_connection()
raises(ConnectionAlreadyInactive, NotConnected);
/// Resume the connection, the event channel will start pulling
/// events one more.
/**
* @throws ConnectionAlreadyActive if the method is invoked
* while the connection is active
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void resume_connection()
raises(ConnectionAlreadyActive, NotConnected);
};
/**
* @interface StructuredProxyPullConsumer
*
* @brief Defines the interface provided for pull-style suppliers
* using the 'structured' event format.
*/
interface StructuredProxyPullConsumer
: ProxyConsumer
, CosNotifyComm::StructuredPullConsumer
{
/// Connect a supplier to the proxy
/**
* The event channel will not pull events from the supplier until
* this operation is invoked.
*
* @param pull_supplier the callback object used to inform the
* application if the event channel is destroyed.
* @throws CORBA::BAD_PARAM if the pull_supplier argument is nil
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_structured_pull_supplier (
in CosNotifyComm::StructuredPullSupplier pull_supplier)
raises(CosEventChannelAdmin::AlreadyConnected,
CosEventChannelAdmin::TypeError );
/// Suspend the connection, the event channel will stop pulling
/// events.
/**
* @throws ConnectionAlreadyInactive if the method is invoked
* while the connection is suspended
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void suspend_connection()
raises(ConnectionAlreadyInactive, NotConnected);
/// Resume the connection, the event channel will start pulling
/// events one more.
/**
* @throws ConnectionAlreadyActive if the method is invoked
* while the connection is active
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void resume_connection()
raises(ConnectionAlreadyActive, NotConnected);
};
/**
* @interface SequenceProxyPullConsumer
*
* @brief Defines the interface provided for pull-style suppliers
* using the 'batched' event format.
*/
interface SequenceProxyPullConsumer
: ProxyConsumer
, CosNotifyComm::SequencePullConsumer
{
/// Connect a supplier to the proxy
/**
* The event channel will not pull events from the supplier until
* this operation is invoked.
*
* @param pull_supplier the callback object used to inform the
* application if the event channel is destroyed.
* @throws CORBA::BAD_PARAM if the pull_supplier argument is nil
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_sequence_pull_supplier (
in CosNotifyComm::SequencePullSupplier pull_supplier)
raises(CosEventChannelAdmin::AlreadyConnected,
CosEventChannelAdmin::TypeError );
/// Suspend the connection, the event channel will stop pulling
/// events.
/**
* @throws ConnectionAlreadyInactive if the method is invoked
* while the connection is suspended
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void suspend_connection()
raises(ConnectionAlreadyInactive, NotConnected);
/// Resume the connection, the event channel will start pulling
/// events one more.
/**
* @throws ConnectionAlreadyActive if the method is invoked
* while the connection is active
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void resume_connection()
raises(ConnectionAlreadyActive, NotConnected);
};
/**
* @interface ProxyPushSupplier
*
* @brief Defines the interface provided for push-style consumers
* using the 'any' event format.
*/
interface ProxyPushSupplier
: ProxySupplier
, CosNotifyComm::PushSupplier
{
/// Connect a consumer to the proxy
/**
* The event channel will not push events to the consumer until
* this operation is invoked.
*
* @param push_consumer the callback object used to push events to
* the application and inform if the event channel is destroyed
* @throws CORBA::BAD_PARAM if the push_consumer argument is nil
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_any_push_consumer (
in CosEventComm::PushConsumer push_consumer)
raises(CosEventChannelAdmin::AlreadyConnected,
CosEventChannelAdmin::TypeError );
/// Suspend the connection, the event channel will stop pushing
/// events to the consumer.
/**
* @throws ConnectionAlreadyInactive if the method is invoked
* while the connection is suspended
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void suspend_connection()
raises(ConnectionAlreadyInactive, NotConnected);
/// Resume the connection, the event channel will start pushing
/// events to the consumer once more
/**
* @throws ConnectionAlreadyActive if the method is invoked
* while the connection is active
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void resume_connection()
raises(ConnectionAlreadyActive, NotConnected);
};
/**
* @interface StructuredProxyPushSupplier
*
* @brief Defines the interface provided for push-style consumers
* using the 'structured' event format.
*/
interface StructuredProxyPushSupplier
: ProxySupplier
, CosNotifyComm::StructuredPushSupplier
{
/// Connect a consumer to the proxy
/**
* The event channel will not push events to the consumer until
* this operation is invoked.
*
* @param push_consumer the callback object used to push events to
* the application and inform if the event channel is destroyed
* @throws CORBA::BAD_PARAM if the push_consumer argument is nil
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_structured_push_consumer (
in CosNotifyComm::StructuredPushConsumer push_consumer)
raises(CosEventChannelAdmin::AlreadyConnected,
CosEventChannelAdmin::TypeError );
/// Suspend the connection, the event channel will stop pushing
/// events to the consumer.
/**
* @throws ConnectionAlreadyInactive if the method is invoked
* while the connection is suspended
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void suspend_connection()
raises(ConnectionAlreadyInactive, NotConnected);
/// Resume the connection, the event channel will start pushing
/// events to the consumer once more
/**
* @throws ConnectionAlreadyActive if the method is invoked
* while the connection is active
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void resume_connection()
raises(ConnectionAlreadyActive, NotConnected);
};
/**
* @interface SequenceProxyPushSupplier
*
* @brief Defines the interface provided for push-style consumers
* using the 'batched' event format.
*/
interface SequenceProxyPushSupplier
: ProxySupplier
, CosNotifyComm::SequencePushSupplier
{
/// Connect a consumer to the proxy
/**
* The event channel will not push events to the consumer until
* this operation is invoked.
*
* @param push_consumer the callback object used to push events to
* the application and inform if the event channel is destroyed
* @throws CORBA::BAD_PARAM if the push_consumer argument is nil
* @throws CosEventChannelAdmin::AlreadyConnected if the proxy is
* already connected, i.e. if this operation is invoked more than
* one time.
*/
void connect_sequence_push_consumer (
in CosNotifyComm::SequencePushConsumer push_consumer)
raises(CosEventChannelAdmin::AlreadyConnected,
CosEventChannelAdmin::TypeError );
/// Suspend the connection, the event channel will stop pushing
/// events to the consumer.
/**
* @throws ConnectionAlreadyInactive if the method is invoked
* while the connection is suspended
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void suspend_connection()
raises(ConnectionAlreadyInactive, NotConnected);
/// Resume the connection, the event channel will start pushing
/// events to the consumer once more
/**
* @throws ConnectionAlreadyActive if the method is invoked
* while the connection is active
* @throws NotConnected if the method is invoked before the
* supplier connects
*/
void resume_connection()
raises(ConnectionAlreadyActive, NotConnected);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -