net.gleamynode.netty.handler.codec.serialization
Class CompatibleObjectEncoder

java.lang.Object
  extended by net.gleamynode.netty.handler.codec.serialization.CompatibleObjectEncoder
All Implemented Interfaces:
ChannelDownstreamHandler, ChannelHandler

@ChannelPipelineCoverage(value="all")
public class CompatibleObjectEncoder
extends Object
implements ChannelDownstreamHandler

Version:
$Rev:231 $, $Date:2008-06-12 16:44:50 +0900 (목, 12 6월 2008) $
Author:
The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com)

Constructor Summary
CompatibleObjectEncoder()
           
CompatibleObjectEncoder(int resetInterval)
           
 
Method Summary
 void handleDownstream(ChannelHandlerContext context, ChannelEvent evt)
           
protected  ObjectOutputStream newObjectOutputStream(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompatibleObjectEncoder

public CompatibleObjectEncoder()

CompatibleObjectEncoder

public CompatibleObjectEncoder(int resetInterval)
Method Detail

handleDownstream

public void handleDownstream(ChannelHandlerContext context,
                             ChannelEvent evt)
                      throws Exception
Specified by:
handleDownstream in interface ChannelDownstreamHandler
Throws:
Exception

newObjectOutputStream

protected ObjectOutputStream newObjectOutputStream(OutputStream out)
                                            throws Exception
Throws:
Exception


Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.