diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-12-31 03:24:50 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-12-31 03:24:50 +0000 |
commit | 596980305b3e552c1aad6cc679e31c237ff7c5d9 (patch) | |
tree | 8629e0f48be5dcd74912bdd552a1657f39930167 /TAO/orbsvcs/orbsvcs/CosEventComm.idl | |
parent | 44718120a05b18c19f6c565a443602f8625c2c54 (diff) | |
download | ATCD-596980305b3e552c1aad6cc679e31c237ff7c5d9.tar.gz |
.
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/CosEventComm.idl')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/CosEventComm.idl | 142 |
1 files changed, 75 insertions, 67 deletions
diff --git a/TAO/orbsvcs/orbsvcs/CosEventComm.idl b/TAO/orbsvcs/orbsvcs/CosEventComm.idl index f478880176d..9026f2cd0f8 100644 --- a/TAO/orbsvcs/orbsvcs/CosEventComm.idl +++ b/TAO/orbsvcs/orbsvcs/CosEventComm.idl @@ -1,89 +1,97 @@ -// // $Id$ -// module CosEventComm { // = TITLE // IDL module for the Corba Object Service for Event Communication. - exception Disconnected{}; - // If the event communication has already been disconnected, - // the Disconnected exception is raised. + exception Disconnected + { + // = TITLE + // If the event communication has already been disconnected, the + // Disconnected exception is raised. + }; interface PushConsumer - { - // = TITLE - // definition of the PushConsumer. - // = DESCRIPTION - // A push-style consumer supports the PushConsumer interface - // to receive event data. + { + // = TITLE + // definition of the PushConsumer. + // + // = DESCRIPTION + // A push-style consumer supports the PushConsumer interface to + // receive event data. - void push (in any data) raises(Disconnected); - // A supplier communicates event data to the consumer by invoking - // the push operation and passing the event data as a parameter. - // If the event communication has already been disconnected, - // the Disconnected exception is raised. + void push (in any data) raises (Disconnected); + // A supplier communicates event data to the consumer by invoking + // the push operation and passing the event data as a parameter. + // If the event communication has already been disconnected, the + // Disconnected exception is raised. - void disconnect_push_consumer(); - // The disconnect_push_consumer operation terminates the - // event communication; it releases resources used at the consumer to - // support the event communication. - // The PushConsumer object reference is disposed. - }; + void disconnect_push_consumer (); + // The disconnect_push_consumer operation terminates the event + // communication; it releases resources used at the consumer to + // support the event communication. The PushConsumer object + // reference is disposed. + }; interface PushSupplier - { - // = TITLE - // Definition of the PushSupplier. - // = DESCRIPTION - // A push-style supplier supports the PushSupplier interface. + { + // = TITLE + // Definition of the PushSupplier. + // + // = DESCRIPTION + // A push-style supplier supports the PushSupplier interface. - void disconnect_push_supplier(); - // The disconnect_push_supplier operation terminates the - // event communication; it releases resources used at the supplier to - // support the event communication. - // The PushSupplier object reference is disposed. - }; + void disconnect_push_supplier (); + // The disconnect_push_supplier operation terminates the event + // communication; it releases resources used at the supplier to + // support the event communication. The PushSupplier object + // reference is disposed. + }; interface PullSupplier - { - // = TITLE - // Definition of the PullSupplier. - // = DESCRIPTION - // A pull-style supplier supports the PullSupplier interface to transmit event data. + { + // = TITLE + // Definition of the PullSupplier. + // + // = DESCRIPTION + // A pull-style supplier supports the PullSupplier interface to + // transmit event data. - any pull () raises(Disconnected); - // The pull operation blocks until the event data is available or an - // exception is raised. It returns the event data to the consumer. - // If the event communication has already been disconnected, - // the Disconnected exception is raised. + any pull () raises (Disconnected); + // The pull operation blocks until the event data is available or + // an exception is raised. It returns the event data to the + // consumer. If the event communication has already been + // disconnected, the Disconnected exception is raised. - any try_pull (out boolean has_event) raises(Disconnected); - // The try_pull operation does not block: if the event data is available, - // it returns the event data and sets the has_event parameter to true; - // if the event is not available, it sets the has_event parameter to - // false and the event data is returned as long with an undefined value. - // If the event communication has already been disconnected, - // the Disconnected exception is raised. + any try_pull (out boolean has_event) raises (Disconnected); + // The try_pull operation does not block: if the event data is + // available, it returns the event data and sets the has_event + // parameter to true; if the event is not available, it sets the + // has_event parameter to false and the event data is returned as + // long with an undefined value. If the event communication has + // already been disconnected, the Disconnected exception is + // raised. - void disconnect_pull_supplier(); - // The disconnect_pull_supplier operation terminates the - // event communication; it releases resources used at the supplier - // to support the event communication. - // The PullSupplier object reference is disposed. - }; + void disconnect_pull_supplier (); + // The disconnect_pull_supplier operation terminates the event + // communication; it releases resources used at the supplier to + // support the event communication. The PullSupplier object + // reference is disposed. + }; - interface PullConsumer - { - // = TITLE - // Definition of the PullConsumer. - // = DESCRIPTION - // A pull-style consumer supports the PullConsumer interface. + interface PullConsumer + { + // = TITLE + // Definition of the PullConsumer. + // + // = DESCRIPTION + // A pull-style consumer supports the PullConsumer interface. - void disconnect_pull_consumer(); - // The disconnect_pull_consumer operation terminates the event - // communication; it releases resources used at the consumer to support - // the event communication. The PullConsumer object reference is disposed. - }; + void disconnect_pull_consumer (); + // The disconnect_pull_consumer operation terminates the event + // communication; it releases resources used at the consumer to + // support the event communication. The PullConsumer object + // reference is disposed. + }; }; |