AsyncChannel
, AsyncChannelOperations
, AsyncInvokerSupport
, Channel
, ChannelListenerSupport
, ConfigurationSupport
, ConnectionInvokerSupport
, EndpointSupport
, InputChannel
, InterceptorSupport
, LogMessageFilterSupport
, MessageReceiver
, MessageReceiverManagement
, OutputChannel
, ProtocolDescriptionSupport
, Receiver
, ReceiverManagement
public class ChatClientChannelHandler extends WebMediaClientChannelHandler
ChatProtocolsListener
AbstractChannel.AsyncErrorNotifier
DEFAULT_TIMEOUT, INFINITE_TIMEOUT
messageFilter
DEF_INPUT_SIZE
dialectResolver, transport
Constructor | Description |
---|---|
ChatClientChannelHandler(Connection connection,
ConnectionConfiguration config) |
Modifier and Type | Method | Description |
---|---|---|
void |
onReceiveMessage(Message message) |
Gives to subclass a chance to perform some operations on incoming
message arrival before delivering it to connection user code.
|
void |
onSend(Message message) |
Gives to subclass a chance to modify message before sending it
to remote party.
|
addChannelListener, configure, connectionContext, copyTLSSettings, fireClosed, fireErrorEvent, fireErrorEvent, generateChannelId, getChannelId, getConfiguration, getDefaultInvoker, getEndpoint, getInvoker, getListenerHelper, getServerContext, getState, getStateMods, getTimeout, getTimer, internal, onSetEndpoint, releaseDefaultInvoker, removeChannelListener, setConfiguration, setEndpoint, setInvoker, setServerContext, setState, setTimeout, throwNotClosed, throwNotOpened, throwNotOpenedOnClose, throwNotOpenedOnSend, throwNull, throwNullEndpoint
getState
getTimeout, setTimeout
addChannelListener, removeChannelListener
addListener, beginClose, beginOpen, cancelCloseTimeout, cancelOpenTimeout, clearInput, close, close, close, closeAsync, closeAsync, closeAsync, createChannelClosedEvent, createConnection, createConnectionClosedEvent, doBeginClose, doClose, doSend, downgradeConnection, getConnectionClosedCause, getDefaultRestriction, getEnpointPrefixInfo, getInputSize, getInterceptor, getLocalEndPoint, getLocalEndpointInfo, getLogMessageFilter, getOpenTimeoutException, getProtocolDescription, getProtocolFactory, getProtocolId, getRemoteEndPoint, getTimeoutException, initPackager, isMessageAllowed, notifyWithObject, onClose, onFireClosed, onFireErrorEvent, onFireOpened, onOpen, open, open, openAsync, openAsync, openAsync, openAsync, processClose, processCloseAll, receive, receive, receivedMessage, releaseReceivers, removeListener, resetReceiver, resumeReading, send, setConnectionInvoker, setExternalTransport, setInputSize, setLogMessageFilter, setMessageHandler, setProtocolData, setReceiver, setState, startUpgradeConnection, stopReading, toString, triggerWithObject, upgradeConnection, waitForObject, wrapInProtocolException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyConfiguration, lookupConnectionParameter
public ChatClientChannelHandler(Connection connection, ConnectionConfiguration config)
public void onSend(Message message) throws ProtocolException
DuplexChannel
onSend
in class DuplexChannel
message
- Message to modifyProtocolException
- In the case of an unrecoverable protocol error. Client applications should not
try to deal with these exceptions, except for logging or displaying to users or technical administrators.
Check the exception cause for more details.public void onReceiveMessage(Message message)
DuplexChannel
onReceiveMessage
in class DuplexChannel
message
- received messageSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.