org.freeswitch.esl.client.inbound
Class InboundClientHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by org.freeswitch.esl.client.internal.AbstractEslClientHandler
          extended by 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:

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
ChannelHandler.Sharable
 
Field Summary
 
Fields inherited from class org.freeswitch.esl.client.internal.AbstractEslClientHandler
LINE_TERMINATOR, MESSAGE_TERMINATOR
 
Constructor Summary
InboundClientHandler(String password, IEslProtocolListener listener)
           
 
Method Summary
 
Methods inherited from class org.freeswitch.esl.client.internal.AbstractEslClientHandler
messageReceived, sendAsyncCommand, sendSyncMultiLineCommand, sendSyncSingleLineCommand
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, writeComplete
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InboundClientHandler

public InboundClientHandler(String password,
                            IEslProtocolListener listener)


Copyright © 2009-2010 david varnes. All Rights Reserved.