com.flazr.rtmp.client
Class ClientHandshakeHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by org.jboss.netty.handler.codec.frame.FrameDecoder
          extended by com.flazr.rtmp.client.ClientHandshakeHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class ClientHandshakeHandler
extends org.jboss.netty.handler.codec.frame.FrameDecoder
implements org.jboss.netty.channel.ChannelDownstreamHandler


Constructor Summary
ClientHandshakeHandler(ClientOptions options)
           
 
Method Summary
 void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
           
protected  Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, org.jboss.netty.buffer.ChannelBuffer in)
           
 void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent ce)
           
 void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent ce)
           
 
Methods inherited from class org.jboss.netty.handler.codec.frame.FrameDecoder
channelClosed, channelDisconnected, decodeLast, exceptionCaught, messageReceived
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, writeComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientHandshakeHandler

public ClientHandshakeHandler(ClientOptions options)
Method Detail

channelConnected

public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
                             org.jboss.netty.channel.ChannelStateEvent e)
Overrides:
channelConnected in class org.jboss.netty.channel.SimpleChannelUpstreamHandler

decode

protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
                        org.jboss.netty.channel.Channel channel,
                        org.jboss.netty.buffer.ChannelBuffer in)
Specified by:
decode in class org.jboss.netty.handler.codec.frame.FrameDecoder

handleUpstream

public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
                           org.jboss.netty.channel.ChannelEvent ce)
                    throws Exception
Specified by:
handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandler
Overrides:
handleUpstream in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Throws:
Exception

handleDownstream

public void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
                             org.jboss.netty.channel.ChannelEvent ce)
Specified by:
handleDownstream in interface org.jboss.netty.channel.ChannelDownstreamHandler


Copyright © 2011. All Rights Reserved.