net.gleamynode.netty.channel
Class AbstractServerChannel

java.lang.Object
  extended by net.gleamynode.netty.channel.AbstractChannel
      extended by net.gleamynode.netty.channel.AbstractServerChannel
All Implemented Interfaces:
Comparable<Channel>, Channel

public abstract class AbstractServerChannel
extends AbstractChannel

Version:
$Rev$, $Date$
Author:
The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com)

Field Summary
 
Fields inherited from interface net.gleamynode.netty.channel.Channel
OP_NONE, OP_READ, OP_READ_WRITE, OP_WRITE
 
Constructor Summary
protected AbstractServerChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)
           
 
Method Summary
 ChannelFuture connect(SocketAddress remoteAddress)
           
 ChannelFuture disconnect()
           
 int getInterestOps()
           
 ChannelFuture setInterestOps(int interestOps)
           
protected  void setInterestOpsNow(int interestOps)
           
 ChannelFuture write(Object message)
           
 ChannelFuture write(Object message, SocketAddress remoteAddress)
           
 
Methods inherited from class net.gleamynode.netty.channel.AbstractChannel
bind, close, compareTo, equals, getFactory, getId, getParent, getPipeline, getSucceededFuture, getUnsupportedOperationFuture, hashCode, isOpen, isReadable, isWritable, setClosed, setReadable, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.gleamynode.netty.channel.Channel
getConfig, getLocalAddress, getRemoteAddress, isBound, isConnected
 

Constructor Detail

AbstractServerChannel

protected AbstractServerChannel(ChannelFactory factory,
                                ChannelPipeline pipeline,
                                ChannelSink sink)
Method Detail

connect

public ChannelFuture connect(SocketAddress remoteAddress)
Specified by:
connect in interface Channel
Overrides:
connect in class AbstractChannel

disconnect

public ChannelFuture disconnect()
Specified by:
disconnect in interface Channel
Overrides:
disconnect in class AbstractChannel

getInterestOps

public int getInterestOps()
Specified by:
getInterestOps in interface Channel
Overrides:
getInterestOps in class AbstractChannel

setInterestOps

public ChannelFuture setInterestOps(int interestOps)
Specified by:
setInterestOps in interface Channel
Overrides:
setInterestOps in class AbstractChannel

setInterestOpsNow

protected void setInterestOpsNow(int interestOps)
Overrides:
setInterestOpsNow in class AbstractChannel

write

public ChannelFuture write(Object message)
Specified by:
write in interface Channel
Overrides:
write in class AbstractChannel

write

public ChannelFuture write(Object message,
                           SocketAddress remoteAddress)
Specified by:
write in interface Channel
Overrides:
write in class AbstractChannel


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