AsyncChannel
, AsyncChannelOperations
, AsyncInvokerSupport
, Channel
, ChannelListenerSupport
, ConfigurationSupport
, ConnectionInvokerSupport
, EndpointSupport
, InputChannel
, InterceptorSupport
, LogMessageFilterSupport
, MessageReceiver
, MessageReceiverManagement
, OutputChannel
, ProtocolDescriptionSupport
, Receiver
, ReceiverManagement
, UniversalContactServerProtocolHandshakeOptions
public class UniversalContactServerClientChannelHandler extends ClientChannelHandler implements UniversalContactServerProtocolHandshakeOptions
ContactServerProtocolListener
AbstractChannel.AsyncErrorNotifier
DEFAULT_TIMEOUT, INFINITE_TIMEOUT
messageFilter
DEF_INPUT_SIZE
Modifier | Constructor | Description |
---|---|---|
protected |
UniversalContactServerClientChannelHandler(Connection connection,
ConnectionConfiguration config) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
applyConfiguration() |
|
protected void |
doSend(Message message) |
Sends the message unconditionally.
|
java.lang.String |
getClientApplicationType() |
Returns client application type for the Universal Contact Server connection.
|
java.lang.String |
getClientName() |
Returns client name for the Universal Contact Server connection handshake.
|
ProtocolDescription |
getProtocolDescription() |
|
protected void |
onReceiveMessage(Message incom) |
Gives to subclass a chance to perform some operations on incoming
message arrival before delivering it to connection user code.
|
void |
setClientApplicationType(java.lang.String clientAppType) |
Sets client application type for the Universal Contact Server connection.
|
void |
setClientName(java.lang.String clientName) |
Sets the Universal Contact Server client name for connection handshake procedure.
|
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, downgradeConnection, getConnectionClosedCause, getDefaultRestriction, getEnpointPrefixInfo, getInputSize, getInterceptor, getLocalEndPoint, getLocalEndpointInfo, getLogMessageFilter, getOpenTimeoutException, getProtocolFactory, getProtocolId, getRemoteEndPoint, getTimeoutException, initPackager, isMessageAllowed, notifyWithObject, onClose, onFireClosed, onFireErrorEvent, onFireOpened, onOpen, onSend, 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
protected UniversalContactServerClientChannelHandler(Connection connection, ConnectionConfiguration config)
public java.lang.String getClientName()
getClientName
in interface UniversalContactServerProtocolHandshakeOptions
setClientName(String)
public void setClientName(java.lang.String clientName)
setClientName
in interface UniversalContactServerProtocolHandshakeOptions
clientName
- client namepublic java.lang.String getClientApplicationType()
getClientApplicationType
in interface UniversalContactServerProtocolHandshakeOptions
setClientApplicationType(String)
public void setClientApplicationType(java.lang.String clientAppType)
setClientApplicationType
in interface UniversalContactServerProtocolHandshakeOptions
clientAppType
- client application typepublic ProtocolDescription getProtocolDescription()
getProtocolDescription
in interface ProtocolDescriptionSupport
getProtocolDescription
in class DuplexChannel
protected void onReceiveMessage(Message incom)
DuplexChannel
onReceiveMessage
in class DuplexChannel
incom
- received messageprotected void doSend(Message message) throws ProtocolException
DuplexChannel
doSend
in class DuplexChannel
message
- message to sendProtocolException
- 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.protected void applyConfiguration()
applyConfiguration
in class DuplexChannel
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.