public class EventNotificationService extends Object
| Constructor and Description |
|---|
EventNotificationService(EventNotificationApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
EventNotificationConfig |
getEventNotificationConfig()
Gets the registered event notifications.
|
EventNotificationConfig |
getEventNotificationConfig(String origin)
Gets the registered event notifications.
|
void |
register(EventNotificationConfig config)
Registers to receive notifications sent by e-SL that are described by the config parameter passed to this method.
|
void |
register(EventNotificationConfigBuilder builder)
Registers to receive notifications sent by e-SL.
|
void |
register(String origin,
EventNotificationConfig config)
Registers to receive notifications sent by e-SL that are described by the config parameter passed to this method.
|
void |
register(String origin,
EventNotificationConfigBuilder builder)
Registers to receive notifications sent by e-SL.
|
public EventNotificationService(EventNotificationApiClient apiClient)
public void register(EventNotificationConfig config)
config - Describes the event notification of interest.public void register(String origin, EventNotificationConfig config)
origin - The origin of the package.config - Describes the event notification of interest.public void register(EventNotificationConfigBuilder builder)
Registers to receive notifications sent by e-SL.
The builder parameter of this method is convenient to use when you want to easily add more notification events.
builder - The event notification config builder.public void register(String origin, EventNotificationConfigBuilder builder)
Registers to receive notifications sent by e-SL.
The builder parameter of this method is convenient to use when you want to easily add more notification events.
origin - The origin of the package.builder - The event notification config builder.public EventNotificationConfig getEventNotificationConfig()
public EventNotificationConfig getEventNotificationConfig(String origin)
origin - The origin of the package.Copyright 2022 OneSpan All rights reserved.