|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GMessageServerDeliveryManagerCtrl
Optional controlling interface for GMessageServerDeliveryManager
instance.
It is implemented by the real AppTemplate service with the main delivery manager.
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 |
---|
void setEndpointParameters(java.lang.String host, int port, java.lang.String backupHost, int backupPort, java.util.Map<java.lang.String,java.lang.String> properties)
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.void setEventsQueue(java.util.Queue<GMessageServerDeliveryManagerBase.EventData> eventsQueue)
eventsQueue
- existing events data queue.void onStart()
void onStop()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |