Receiver
ClusterProtocol
, InputChannel
, MessageReceiverSupport
, Protocol
AbstractClusterChannel
, BasicChatProtocol
, CallbackClientChannelHandler
, CallbackProtocol
, ChatClientChannelHandler
, ClientChannel
, ClientChannelHandler
, ClusterProtocolImpl
, ConfServerClientChannelHandler
, ConfServerProtocol
, DuplexChannel
, EmailClientChannelHandler
, EmailProtocol
, EspClusterProtocol
, EspEmailClientChannelHandler
, EspEmailClusterProtocol
, EspEmailProtocol
, EventReceivingBrokerService
, ExternalServiceClientChannelHandler
, ExternalServiceProtocol
, FlexChatClusterProtocol
, FlexChatProtocol
, IgnoringMessageReceiverSupport
, InteractionServerClientChannelHandler
, InteractionServerProtocol
, LcaUdpHeartbeatInternalProtocol
, LocalControlAgentProtocol
, MessageServerProtocol
, OptionalRegistrationChannel
, OutboundServerProtocol
, QueueMessageReceiver
, RoutingServerProtocol
, SolutionControlServerProtocol
, StatServerProtocol
, TServerProtocol
, UcsClusterProtocol
, UniversalContactServerClientChannelHandler
, UniversalContactServerProtocol
, UrsCustomProtocol
, WebmediaChannel
, WebMediaClientChannelHandler
public interface MessageReceiver<T> extends Receiver
DEF_INPUT_SIZE
Modifier and Type | Method | Description |
---|---|---|
T |
receive() |
Receives message from the channel.
|
T |
receive(long timeout) |
Receives message from the channel.
|
clearInput, getInputSize, releaseReceivers, setInputSize
T receive() throws java.lang.InterruptedException, java.lang.IllegalStateException
java.lang.InterruptedException
- if thread is interrupted during this method
executionjava.lang.IllegalStateException
- if channel is not in appropriate state
to call the methodMessageHandler
,
DuplexChannel.setMessageHandler(MessageHandler)
T receive(long timeout) throws java.lang.InterruptedException, java.lang.IllegalStateException
Channel
description for timeout values meaning.timeout
- timeout to waitResponse for messagejava.lang.InterruptedException
- if thread is interrupted during this method
executionjava.lang.IllegalStateException
- if channel is not in appropriate state
to call the methodMessageHandler
,
DuplexChannel.setMessageHandler(MessageHandler)
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.