AsyncChannel
, AsyncChannelOperations
, AsyncInvokerSupport
, Channel
, ChannelListenerSupport
, ConfigurationSupport
, ConnectionInvokerSupport
, EndpointSupport
, InputChannel
, InterceptorSupport
, LogMessageFilterSupport
, MessageReceiver
, MessageReceiverManagement
, OutputChannel
, ProtocolDescriptionSupport
, Receiver
, ReceiverManagement
, EspEmailProtocolHandshakeOptions
public class EspEmailClientChannelHandler extends ClientChannelHandler implements EspEmailProtocolHandshakeOptions
AbstractChannel.AsyncErrorNotifier
DEFAULT_TIMEOUT, INFINITE_TIMEOUT
messageFilter
DEF_INPUT_SIZE
Constructor | Description |
---|---|
EspEmailClientChannelHandler(Connection connection,
ConnectionConfiguration config) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
doSend(Message message) |
Sends the message unconditionally.
|
java.lang.String |
getClientApplicationType() |
Returns client application type for the Genesys EMail Server connection.
|
java.lang.String |
getClientName() |
Returns client name for the Email 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 Genesys EMail Server connection.
|
void |
setClientName(java.lang.String clientName) |
Sets the Email 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, applyConfiguration, 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
public EspEmailClientChannelHandler(Connection connection, ConnectionConfiguration config)
public ProtocolDescription getProtocolDescription()
getProtocolDescription
in interface ProtocolDescriptionSupport
getProtocolDescription
in class DuplexChannel
public void setClientName(java.lang.String clientName)
setClientName
in interface EspEmailProtocolHandshakeOptions
clientName
- client namepublic java.lang.String getClientName()
getClientName
in interface EspEmailProtocolHandshakeOptions
setClientName(String)
public java.lang.String getClientApplicationType()
getClientApplicationType
in interface EspEmailProtocolHandshakeOptions
setClientApplicationType(String)
public void setClientApplicationType(java.lang.String clientAppType)
setClientApplicationType
in interface EspEmailProtocolHandshakeOptions
clientAppType
- client application typeprotected 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.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.