org.freeswitch.esl.client.inbound
Class InboundClientHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.freeswitch.esl.client.internal.AbstractEslClientHandler
org.freeswitch.esl.client.inbound.InboundClientHandler
- All Implemented Interfaces:
- ChannelHandler, ChannelUpstreamHandler
public class InboundClientHandler
- extends AbstractEslClientHandler
End users of the inbound Client should not need to use this class.
Specialised AbstractEslClientHandler that implements the connection logic for an
'Inbound' FreeSWITCH Event Socket connection. The responsibilities for this class are:
-
To handle the auth request that the FreeSWITCH server will send immediately following a new
connection when mode is Inbound.
-
To signal the observing
IEslProtocolListener (expected to be the Inbound client
implementation) when ESL events are received.
Note: implementation requirement is that an ExecutionHandler is placed in the processing
pipeline prior to this handler. This will ensure that each incoming message is processed in its
own thread (although still guaranteed to be processed in the order of receipt).
- Author:
- david varnes
| Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, writeComplete |
InboundClientHandler
public InboundClientHandler(String password,
IEslProtocolListener listener)
Copyright © 2009-2010 david varnes. All Rights Reserved.