ChannelListener
, Listener
, Receiver
, ReceiverSupport
, RequestReceiver
, RequestReceiverSupport
public class QueueRequestReceiver extends AbstractQueueReceiver<RequestContext> implements RequestReceiverSupport
DEF_INPUT_SIZE
Constructor | Description |
---|---|
QueueRequestReceiver(int queueSize) |
|
QueueRequestReceiver(int queueSize,
boolean growQueue) |
Modifier and Type | Method | Description |
---|---|---|
protected RequestContext |
getFake() |
|
void |
processRequest(RequestContext request) |
Deprecated.
Use processMessage() instead
|
RequestContext |
receiveRequest() |
Deprecated.
Use receive() instead
|
RequestContext |
receiveRequest(long timeout) |
Deprecated.
Use receive() instead
|
clearInput, getEnqueTimeout, getInputSize, getMaxInputSize, getQueueSupport, onChannelClosed, onChannelError, onChannelOpened, processMessage, receive, receive, releaseReceivers, setEnqueTimeout, setInputSize, setMaxInputSize
onChannelClosed, onChannelError, onChannelOpened
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearInput, getInputSize, releaseReceivers, setInputSize
public QueueRequestReceiver(int queueSize)
public QueueRequestReceiver(int queueSize, boolean growQueue)
protected RequestContext getFake()
getFake
in class AbstractQueueReceiver<RequestContext>
@Deprecated public void processRequest(RequestContext request)
processRequest
in interface RequestReceiverSupport
request
- request to process@Deprecated public RequestContext receiveRequest() throws java.lang.InterruptedException, java.lang.IllegalStateException
RequestReceiver
receiveRequest
in interface RequestReceiver
java.lang.InterruptedException
- if thread is interrupted during this method
executionjava.lang.IllegalStateException
- if channel is not in appropriate state
to call the method@Deprecated public RequestContext receiveRequest(long timeout) throws java.lang.InterruptedException, java.lang.IllegalStateException
RequestReceiver
Channel
description for timeout values meaning.receiveRequest
in interface RequestReceiver
timeout
- timeout to waitResponse for messagejava.lang.InterruptedException
- if thread is interrupted during this method
executionChannelNotOpenedException
- if channel is not in appropriate state
to call the methodjava.lang.IllegalStateException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.