table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
cosNotificationApp(3erl) | Erlang Module Definition | cosNotificationApp(3erl) |
NAME¶
cosNotificationApp - The main module of the cosNotification application.DESCRIPTION¶
To get access to the record definitions for the structures use:EXPORTS¶
install() -> Return
Types:
Return = ok | {'EXCEPTION', E}
This operation installs the cosNotification application.
Types:
Return = ok | {'EXCEPTION', E}
This operation installs the cosNotification application using Seconds
delay between each block, currently 6, of IFR-registrations. This approach
spreads the IFR database access over a period of time to allow other
applications to run smother.
Types:
Return = ok | {'EXCEPTION', E}
This operation, which may only be used if it is impossible to upgrade to
cosEvent-2.0 or later, installs the necessary cosEvent interfaces. If
cosEvent-2.0 is available, use cosEventApp:install() instead.
Types:
Return = ok | {'EXCEPTION', E}
This operation, which may only be used if it is impossible to upgrade to
cosEvent-2.0 or later, installs the necessary cosEvent interfaces using
Seconds delay between each block of IFR-registrations. If cosEvent-2.0
is available, use cosEventApp:install() instead.
Types:
Return = ok | {'EXCEPTION', E}
This operation uninstalls the cosNotification application.
Types:
Return = ok | {'EXCEPTION', E}
This operation uninstalls the cosNotification application using Seconds
delay between each block, currently 6, of IFR-unregistrations. This approach
spreads the IFR database access over a period of time to allow other
applications to run smother.
Types:
Return = ok | {'EXCEPTION', E}
This operation uninstalls the inherited cosEvent interfaces. If cosEvent is in
use this function may not be used. This function may only be used if
cosNotificationApp:install_event/1/2 was used. If not, use
cosEventApp:uninstall() instead.
Types:
Return = ok | {'EXCEPTION', E}
This operation uninstalls the inherited cosEvent interfaces, using
Seconds delay between each block of IFR-unregistrations. If cosEvent is
in use this function may not be used. This function may only be used if
cosNotificationApp:install_event/1/2 was used. If not, use
cosEventApp:uninstall() instead.
Types:
Return = ok | {error, Reason}
This operation starts the cosNotification application.
Types:
Return = ok | {error, Reason}
This operation stops the cosNotification application.
Types:
ChannelFactory = #objref
This operation creates a Event Channel Factory should be used for a
multi-node Orber. The Factory is used to create a new channel.
Types:
Options = [Option]
Option = {pullInterval, Seconds} | {filterOp, Op} | {gcTime, Seconds} |
{gcLimit, Anount} | {timeService, #objref}
ChannelFactory = #objref
This operation creates a Event Channel Factory and should be used for a
multi-node Orber. The Factory is used to create a new channel.
- *
- {pullInterval, Seconds} - determine how often Proxy Pull Consumers will check for new events with the client application. The default value is 20 seconds.
- *
- {filterOp, OperationType} - determine which type of Administrator objects should be started, i.e., 'OR_OP' or 'AND_OP'. The default value is 'OR_OP'.
- *
- {timeService, TimeServiceObj | 'undefined'} - to be able to use Start and/or Stop QoS this option must be used. See the function start_time_service/2 in the cosTime application. The default value is 'undefined'.
- *
- {filterOp, OperationType} - determine which type of Administrator objects should be started, i.e., 'OR_OP' or 'AND_OP'. The default value is 'OR_OP'.
- *
- {gcTime, Seconds} - this option determines how often, for example, proxies will garbage collect expired events. The default value is 60.
- *
- {gcLimit, Amount} - determines how many events will be stored before, for example, proxies will garbage collect expired events. The default value is 50. This option is tightly coupled with the QoS property MaxEventsPerConsumer, i.e., the gcLimit should be less than MaxEventsPerConsumer and greater than 0.
Types:
ChannelFactory = #objref
This operation creates a Event Channel Factory. The Factory is used to
create a new channel.
Types:
Options = [Option]
Option = {pullInterval, Seconds} | {filterOp, Op} | {gcTime, Seconds} |
{gcLimit, Amount} | {timeService, #objref}
ChannelFactory = #objref
This operation creates a Event Channel Factory. The Factory is used to
create a new channel.
Types:
ChannelFactory = #objref
Reply = ok | {'EXCEPTION', E}
This operation stop the target channel factory.
Types:
FilterFactory = #objref
This operation creates a Filter Factory. The Factory is used to create a
new Filter's and MappingFilter's.
Types:
FilterFactory = #objref
Reply = ok | {'EXCEPTION', E}
This operation stop the target filter factory.
Types:
Domain = string()
Type = string()
Event = string()
VariableHeader = [CosNotification::Property]
FilterableBody = [CosNotification::Property]
BodyRemainder = #any data-type
Reply = CosNotification::StructuredEvent | {'EXCEPTION', E}
An easy way to create a structured event is to use this function. Simple
typechecks are performed and if one of the arguments is not correct a
'BAD_PARAM' exception is thrown.
Types:
Reply = true | false
This operation returns the value of the configuration parameter
type_check.
cosNotification 1.1.18 | Ericsson AB |