Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.log4j2plugin
Interface GMessageServerDeliveryManagerCtrl

All Known Implementing Classes:
GMessageServerDeliveryManagerImpl

public interface GMessageServerDeliveryManagerCtrl

Optional controlling interface for GMessageServerDeliveryManager instance.
It is implemented by the real AppTemplate service with the main delivery manager.

Note: This interface is internal and is not supposed for explicit usage by applications.


Method Summary
 void onStart()
          Notification event about start of correspondent Log4j appender.
 void onStop()
          Notification event about stop of correspondent Log4j appender.
 void setEndpointParameters(java.lang.String host, int port, java.lang.String backupHost, int backupPort, java.util.Map<java.lang.String,java.lang.String> properties)
          Initializes delivery manager with parameters passed from a Log4j2 configuration file.
 void setEventsQueue(java.util.Queue<GMessageServerDeliveryManagerBase.EventData> eventsQueue)
          Initializes the delivery manager with existing events queue.
It allows to do not lose events on logging reconfiguration (including startup events).
 

Method Detail

setEndpointParameters

void setEndpointParameters(java.lang.String host,
                           int port,
                           java.lang.String backupHost,
                           int backupPort,
                           java.util.Map<java.lang.String,java.lang.String> properties)
Initializes delivery manager with parameters passed from a Log4j2 configuration file.

Parameters:
host - the Message Server host name or address.
port - the Message Server TCP/IP port number.
backupHost - host name or address of backup Message Server or null.
backupPort - TCP/IP port number of the backup Message Server.
properties - parameters of the Message Server connection.

setEventsQueue

void setEventsQueue(java.util.Queue<GMessageServerDeliveryManagerBase.EventData> eventsQueue)
Initializes the delivery manager with existing events queue.
It allows to do not lose events on logging reconfiguration (including startup events).

Parameters:
eventsQueue - existing events data queue.

onStart

void onStart()
Notification event about start of correspondent Log4j appender.


onStop

void onStop()
Notification event about stop of correspondent Log4j appender.


Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.