Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.log4j2plugin
Class GMessageServerDeliveryManagerBase

java.lang.Object
  extended by com.genesyslab.platform.apptemplate.log4j2plugin.GMessageServerDeliveryManagerBase
All Implemented Interfaces:
GMessageServerDeliveryManager
Direct Known Subclasses:
GMessageServerDeliveryManagerImpl

public class GMessageServerDeliveryManagerBase
extends java.lang.Object
implements GMessageServerDeliveryManager

The Message Server delivery manager implementation base.

It is included in the plug-in jar and has no dependency on the Message Server protocol or any other PSDK parts.

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


Nested Class Summary
protected  class GMessageServerDeliveryManagerBase.BoundedQueue
          Queue for status events generated before Message Server delivery configuration applied.
static class GMessageServerDeliveryManagerBase.EventData
          Internal structure for storage of LMS Event object properties in a queue.
 
Field Summary
protected  java.util.Queue<GMessageServerDeliveryManagerBase.EventData> eventsQueue
           
 
Constructor Summary
  GMessageServerDeliveryManagerBase()
           
protected GMessageServerDeliveryManagerBase(int queueCapacity)
           
 
Method Summary
protected  java.util.Queue<GMessageServerDeliveryManagerBase.EventData> getEventsQueue()
           
 void send(long date, int entryId, int entryCategory, int level, java.lang.String entryText, java.util.Map<java.lang.String,java.lang.String> attributes, java.lang.Throwable throwable)
          Pushes event data to output queue for Message Server delivery.
protected  void setEventsQueue(java.util.Queue<GMessageServerDeliveryManagerBase.EventData> queue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventsQueue

protected java.util.Queue<GMessageServerDeliveryManagerBase.EventData> eventsQueue
Constructor Detail

GMessageServerDeliveryManagerBase

public GMessageServerDeliveryManagerBase()

GMessageServerDeliveryManagerBase

protected GMessageServerDeliveryManagerBase(int queueCapacity)
Method Detail

setEventsQueue

protected void setEventsQueue(java.util.Queue<GMessageServerDeliveryManagerBase.EventData> queue)

getEventsQueue

protected java.util.Queue<GMessageServerDeliveryManagerBase.EventData> getEventsQueue()

send

public void send(long date,
                 int entryId,
                 int entryCategory,
                 int level,
                 java.lang.String entryText,
                 java.util.Map<java.lang.String,java.lang.String> attributes,
                 java.lang.Throwable throwable)
Description copied from interface: GMessageServerDeliveryManager
Pushes event data to output queue for Message Server delivery.

Specified by:
send in interface GMessageServerDeliveryManager
Parameters:
date - the event timestamp.
entryId - the LMS event ID.
entryCategory - the LMS Event category ID.
level - the event log level.
entryText - the localized and formatted message text.
attributes - optional LMS Event attributes.
throwable - exception attached to the event, or null.

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.