---
name: "CosNotifyChannelAdmin_StructuredProxyPushConsumer"
section: "3"
platform: "linux"
package: "erlang-manpages"
version: "1:10.b.1a-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/CosNotifyChannelAdmin_StructuredProxyPushConsumer"
---

# CosNotifyChannelAdmin\_StructuredProxyPushConsumer(3)

## MODULE

CosNotifyChannelAdmin\_­StructuredProxyPushConsumer - This module implements the OMG CosNotifyChannelAdmin::StructuredProxyPushConsumer interface.

## DESCRIPTION

To get access to the record definitions for the structures use:\
\
  *-include\_lib("cosNotification/include/\*.hrl").*

This module also exports the functions described in:

- \*

  CosNotifyComm\_NotifyPublish

- \*

  CosNotification\_QoSAdmin

- \*

  CosNotifyFilter\_FilterAdmin

- \*

  CosNotifyChannelAdmin\_ProxyConsumer

## EXPORTS

**connect\_structured\_push\_supplier(StructuredProxyPushConsumer, PushSupplier) -\> Reply**\

- Types

  StructuredProxyPushConsumer = #objref\
   PushSupplier = #objref\
   Reply = ok \| {'EXCEPTION', #'CosEventChannelAdmin\_AlreadyConnected'{}}\

This operation connects a *PushSupplier* to the target object. If a connection already exists an exception is raised.

**push\_structured\_event(StructuredProxyPushConsumer, StructuredEvent) -\> Reply**\

- Types

  StructuredProxyPushConsumer = #objref\
   StructuredEvent = #'CosNotification\_StructuredEvent'{header, filterable\_data, remainder\_of\_body}\
   header = EventHeader\
   filterable\_data = \[#'CosNotification\_Property'{name, value}\]\
   name = string()\
   value = #any\
   remainder\_of\_body = #any\
   EventHeader = #'CosNotification\_EventHeader'{fixed\_header, variable\_header}\
   fixed\_header = FixedEventHeader\
   variable\_header = OptionalHeaderFields\
   FixedEventHeader = #'CosNotification\_FixedEventHeader'{event\_type, event\_name}\
   event\_type = EventType\
   event\_name = string()\
   EventType = #'CosNotification\_EventType'{domain\_name, type\_name}\
   domain\_name = type\_name = string()\
   OptionalHeaderFields = \[#'CosNotification\_Property'{name, value}\]\
   Reply = ok \| {'EXCEPTION', #'CosEventChannelAdmin\_Disconnected'{}}\

When a client want to push a new event to the target object this operation must be used.

**disconnect\_structured\_push\_consumer(StructuredProxyPushConsumer) -\> ok**\

- Types

  StructuredProxyPushConsumer = #objref\

This operation cause the target object to close the connection and terminate.

## AUTHOR

```
support - support@erlang.ericsson.se
```
