Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Interface Receiver

All Known Subinterfaces:
ClusterProtocol, InputChannel, MessageReceiver<T>, MessageReceiverSupport, Protocol, ReceiverSupport, RequestReceiver, RequestReceiverSupport
All Known Implementing Classes:
AbstractClusterChannel, AbstractQueueReceiver, BasicChatProtocol, CallbackClientChannelHandler, CallbackProtocol, CallbackProtocolListener, ChatClientChannelHandler, ChatProtocolsListener, ClientChannel, ClientChannelHandler, ClusterProtocolImpl, ConfServerClientChannelHandler, ConfServerProtocol, ConfServerProtocolListener, DuplexChannel, EmailClientChannelHandler, EmailProtocol, EmailProtocolListener, EspClusterProtocol, EspEmailClientChannelHandler, EspEmailClusterProtocol, EspEmailProtocol, EspEmailProtocolListener, EventReceivingBrokerService, ExternalServiceClientChannelHandler, ExternalServiceProtocol, ExternalServiceProtocolListener, FlexChatClusterProtocol, FlexChatProtocol, IgnoringMessageReceiverSupport, InteractionServerClientChannelHandler, InteractionServerProtocol, InteractionServerProtocolListener, LcaUdpHeartbeatInternalProtocol, LocalControlAgentProtocol, MessageServerProtocol, OptionalRegistrationChannel, OutboundServerProtocol, QueueMessageReceiver, QueueRequestReceiver, RequestReceivingBrokerService, RoutingServerProtocol, ServerChannel, SolutionControlServerProtocol, StatServerProtocol, TServerProtocol, UcsClusterProtocol, UniversalContactServerClientChannelHandler, UniversalContactServerProtocol, UniversalContactServerProtocolListener, UrsCustomProtocol, UrsCustomProtocolListener, WebmediaChannel, WebMediaClientChannelHandler

public interface Receiver


Field Summary
static int DEF_INPUT_SIZE
           
 
Method Summary
 void clearInput()
          Clears input of the receiver.
 int getInputSize()
          Returns the amount of messages this Receiver can hold before start to "forget stale messages".
 void releaseReceivers()
          Notifies receivers (threads waiting on receive() methods) they should stop waiting and return null.
 void setInputSize(int inputSize)
          Sets the amount of messages this Receiver can hold before start to "forget stale messages".
 

Field Detail

DEF_INPUT_SIZE

static final int DEF_INPUT_SIZE
See Also:
Constant Field Values
Method Detail

clearInput

void clearInput()
Clears input of the receiver. Please note, that there is no strict guaranties that input will be empty after this method has returned, the messages could be delivered by another thread.


getInputSize

int getInputSize()
Returns the amount of messages this Receiver can hold before start to "forget stale messages".

Returns:
maximum count of messages stored in receiver

setInputSize

void setInputSize(int inputSize)
Sets the amount of messages this Receiver can hold before start to "forget stale messages".

Parameters:
inputSize - maximum count of messages stored in receiver

releaseReceivers

void releaseReceivers()
Notifies receivers (threads waiting on receive() methods) they should stop waiting and return 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.