![]() |
![]() |
e-docs > Tuxedo > Using the CORBA Notification Service > CORBA Notification Service API Reference |
Using the CORBA Notification Service
|
CosNotifyChannelAdmin::StructuredProxyPushConsumer::
connect_structured_push_supplier
Synopsis
Prepares the Notification Service to receive an event.
OMG IDL
void connect_structured_push_supplier (
in CosNotifyComm::StructuredPushSupplier push_supplier)
raises(CosEventChannelAdmin::AlreadyConnected);
Exception
Description
Used by poster applications when posting events. You must call this operation to prepare the Notification Service to receive an event and you must pass in a NIL when you use this operation. The sequence of usage is as follows:
Examples
Note: Code examples shown here are abbreviated. For complete code examples, see "Creating and Posting Events" on page 4-4.
C++ code example:
proxy_push_consumer->connect_structured_push_supplier(
CosNotifyComm::StructuredPushSupplier::_nil()
);
Java code example:
proxy_push_consumer.connect_structured_push_supplier(null);
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |