org.littleshoot.proxy
Class ChannelAdapter
java.lang.Object
org.littleshoot.proxy.ChannelAdapter
- All Implemented Interfaces:
- Comparable<org.jboss.netty.channel.Channel>, org.jboss.netty.channel.Channel
public class ChannelAdapter
- extends Object
- implements org.jboss.netty.channel.Channel
| Fields inherited from interface org.jboss.netty.channel.Channel |
OP_NONE, OP_READ, OP_READ_WRITE, OP_WRITE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelAdapter
public ChannelAdapter()
bind
public org.jboss.netty.channel.ChannelFuture bind(SocketAddress localAddress)
- Specified by:
bind in interface org.jboss.netty.channel.Channel
close
public org.jboss.netty.channel.ChannelFuture close()
- Specified by:
close in interface org.jboss.netty.channel.Channel
connect
public org.jboss.netty.channel.ChannelFuture connect(SocketAddress remoteAddress)
- Specified by:
connect in interface org.jboss.netty.channel.Channel
disconnect
public org.jboss.netty.channel.ChannelFuture disconnect()
- Specified by:
disconnect in interface org.jboss.netty.channel.Channel
getCloseFuture
public org.jboss.netty.channel.ChannelFuture getCloseFuture()
- Specified by:
getCloseFuture in interface org.jboss.netty.channel.Channel
getConfig
public org.jboss.netty.channel.ChannelConfig getConfig()
- Specified by:
getConfig in interface org.jboss.netty.channel.Channel
getFactory
public org.jboss.netty.channel.ChannelFactory getFactory()
- Specified by:
getFactory in interface org.jboss.netty.channel.Channel
getId
public Integer getId()
- Specified by:
getId in interface org.jboss.netty.channel.Channel
getInterestOps
public int getInterestOps()
- Specified by:
getInterestOps in interface org.jboss.netty.channel.Channel
getLocalAddress
public SocketAddress getLocalAddress()
- Specified by:
getLocalAddress in interface org.jboss.netty.channel.Channel
getParent
public org.jboss.netty.channel.Channel getParent()
- Specified by:
getParent in interface org.jboss.netty.channel.Channel
getPipeline
public org.jboss.netty.channel.ChannelPipeline getPipeline()
- Specified by:
getPipeline in interface org.jboss.netty.channel.Channel
getRemoteAddress
public SocketAddress getRemoteAddress()
- Specified by:
getRemoteAddress in interface org.jboss.netty.channel.Channel
isBound
public boolean isBound()
- Specified by:
isBound in interface org.jboss.netty.channel.Channel
isConnected
public boolean isConnected()
- Specified by:
isConnected in interface org.jboss.netty.channel.Channel
isOpen
public boolean isOpen()
- Specified by:
isOpen in interface org.jboss.netty.channel.Channel
isReadable
public boolean isReadable()
- Specified by:
isReadable in interface org.jboss.netty.channel.Channel
isWritable
public boolean isWritable()
- Specified by:
isWritable in interface org.jboss.netty.channel.Channel
setInterestOps
public org.jboss.netty.channel.ChannelFuture setInterestOps(int interestOps)
- Specified by:
setInterestOps in interface org.jboss.netty.channel.Channel
setReadable
public org.jboss.netty.channel.ChannelFuture setReadable(boolean readable)
- Specified by:
setReadable in interface org.jboss.netty.channel.Channel
unbind
public org.jboss.netty.channel.ChannelFuture unbind()
- Specified by:
unbind in interface org.jboss.netty.channel.Channel
write
public org.jboss.netty.channel.ChannelFuture write(Object message)
- Specified by:
write in interface org.jboss.netty.channel.Channel
write
public org.jboss.netty.channel.ChannelFuture write(Object message,
SocketAddress remoteAddress)
- Specified by:
write in interface org.jboss.netty.channel.Channel
compareTo
public int compareTo(org.jboss.netty.channel.Channel o)
- Specified by:
compareTo in interface Comparable<org.jboss.netty.channel.Channel>
Copyright © 2009-2011 LittleShoot. All Rights Reserved.