Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Class QueueMessageReceiver

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.AbstractQueueReceiver<Message>
      extended by com.genesyslab.platform.commons.protocol.QueueMessageReceiver
All Implemented Interfaces:
ChannelListener, Listener, MessageReceiver<Message>, MessageReceiverSupport, Receiver, ReceiverSupport

public class QueueMessageReceiver
extends AbstractQueueReceiver<Message>
implements MessageReceiverSupport


Field Summary
 
Fields inherited from interface com.genesyslab.platform.commons.protocol.Receiver
DEF_INPUT_SIZE
 
Constructor Summary
QueueMessageReceiver(int queueSize)
          Creates message queue of specified size which does not grow.
QueueMessageReceiver(int queueSize, boolean growQueue)
           
 
Method Summary
protected  Message getFake()
           
 
Methods inherited from class com.genesyslab.platform.commons.protocol.AbstractQueueReceiver
clearInput, getEnqueTimeout, getInputSize, getMaxInputSize, getQueueSupport, onChannelClosed, onChannelError, onChannelOpened, processMessage, receive, receive, releaseReceivers, setEnqueTimeout, setInputSize, setMaxInputSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.MessageReceiverSupport
processMessage
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.ChannelListener
onChannelClosed, onChannelError, onChannelOpened
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.MessageReceiver
receive, receive
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.Receiver
clearInput, getInputSize, releaseReceivers, setInputSize
 

Constructor Detail

QueueMessageReceiver

public QueueMessageReceiver(int queueSize)
Creates message queue of specified size which does not grow.

Parameters:
queueSize - queue size

QueueMessageReceiver

public QueueMessageReceiver(int queueSize,
                            boolean growQueue)
Method Detail

getFake

protected Message getFake()
Specified by:
getFake in class AbstractQueueReceiver<Message>

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.