net.tomp2p.simgrid
Class DummyChannelHandlerContext

java.lang.Object
  extended by net.tomp2p.simgrid.DummyChannelHandlerContext
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandlerContext

public class DummyChannelHandlerContext
extends java.lang.Object
implements org.jboss.netty.channel.ChannelHandlerContext


Constructor Summary
DummyChannelHandlerContext(org.jboss.netty.channel.Channel channel)
           
 
Method Summary
 boolean canHandleDownstream()
           
 boolean canHandleUpstream()
           
 java.lang.Object getAttachment()
           
 org.jboss.netty.channel.Channel getChannel()
           
 org.jboss.netty.channel.ChannelHandler getHandler()
           
 java.lang.Object getInput()
           
 java.lang.String getName()
           
 org.jboss.netty.channel.ChannelPipeline getPipeline()
           
 void sendDownstream(org.jboss.netty.channel.ChannelEvent e)
           
 void sendUpstream(org.jboss.netty.channel.ChannelEvent e)
           
 void setAttachment(java.lang.Object attachment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyChannelHandlerContext

public DummyChannelHandlerContext(org.jboss.netty.channel.Channel channel)
Method Detail

canHandleDownstream

public boolean canHandleDownstream()
Specified by:
canHandleDownstream in interface org.jboss.netty.channel.ChannelHandlerContext

canHandleUpstream

public boolean canHandleUpstream()
Specified by:
canHandleUpstream in interface org.jboss.netty.channel.ChannelHandlerContext

getAttachment

public java.lang.Object getAttachment()
Specified by:
getAttachment in interface org.jboss.netty.channel.ChannelHandlerContext

getChannel

public org.jboss.netty.channel.Channel getChannel()
Specified by:
getChannel in interface org.jboss.netty.channel.ChannelHandlerContext

getHandler

public org.jboss.netty.channel.ChannelHandler getHandler()
Specified by:
getHandler in interface org.jboss.netty.channel.ChannelHandlerContext

getName

public java.lang.String getName()
Specified by:
getName in interface org.jboss.netty.channel.ChannelHandlerContext

getPipeline

public org.jboss.netty.channel.ChannelPipeline getPipeline()
Specified by:
getPipeline in interface org.jboss.netty.channel.ChannelHandlerContext

sendDownstream

public void sendDownstream(org.jboss.netty.channel.ChannelEvent e)
Specified by:
sendDownstream in interface org.jboss.netty.channel.ChannelHandlerContext

getInput

public java.lang.Object getInput()

sendUpstream

public void sendUpstream(org.jboss.netty.channel.ChannelEvent e)
Specified by:
sendUpstream in interface org.jboss.netty.channel.ChannelHandlerContext

setAttachment

public void setAttachment(java.lang.Object attachment)
Specified by:
setAttachment in interface org.jboss.netty.channel.ChannelHandlerContext


Copyright © 2012. All Rights Reserved.