org.apache.sshd.server.channel
Class ChannelDirectTcpip

java.lang.Object
  extended by org.apache.sshd.common.channel.AbstractChannel
      extended by org.apache.sshd.server.channel.AbstractServerChannel
          extended by org.apache.sshd.server.channel.ChannelDirectTcpip
All Implemented Interfaces:
Channel

public class ChannelDirectTcpip
extends AbstractServerChannel

TODO Add javadoc

Author:
Apache MINA SSHD Project

Nested Class Summary
static class ChannelDirectTcpip.Factory
           
 
Field Summary
 
Fields inherited from class org.apache.sshd.server.channel.AbstractServerChannel
exitStatusSent
 
Fields inherited from class org.apache.sshd.common.channel.AbstractChannel
closeFuture, closing, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, id, localWindow, lock, log, recipient, remoteWindow, session
 
Constructor Summary
ChannelDirectTcpip()
           
 
Method Summary
 CloseFuture close(boolean immediately)
           
protected  OpenFuture doInit(Buffer buffer)
           
protected  void doWriteData(byte[] data, int off, int len)
           
protected  void doWriteExtendedData(byte[] data, int off, int len)
           
 void handleEof()
           
 void handleRequest(Buffer buffer)
           
 
Methods inherited from class org.apache.sshd.server.channel.AbstractServerChannel
handleOpenFailure, handleOpenSuccess, open, sendExitStatus
 
Methods inherited from class org.apache.sshd.common.channel.AbstractChannel
configureWindow, doClose, getId, getLocalWindow, getRecipient, getSession, handleClose, handleData, handleExtendedData, handleFailure, handleWindowAdjust, init, sendEof, sendWindowAdjust
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelDirectTcpip

public ChannelDirectTcpip()
Method Detail

doInit

protected OpenFuture doInit(Buffer buffer)
Overrides:
doInit in class AbstractServerChannel

close

public CloseFuture close(boolean immediately)
Specified by:
close in interface Channel
Overrides:
close in class AbstractChannel

handleEof

public void handleEof()
               throws IOException
Specified by:
handleEof in interface Channel
Overrides:
handleEof in class AbstractChannel
Throws:
IOException

doWriteData

protected void doWriteData(byte[] data,
                           int off,
                           int len)
                    throws IOException
Specified by:
doWriteData in class AbstractChannel
Throws:
IOException

doWriteExtendedData

protected void doWriteExtendedData(byte[] data,
                                   int off,
                                   int len)
                            throws IOException
Specified by:
doWriteExtendedData in class AbstractChannel
Throws:
IOException

handleRequest

public void handleRequest(Buffer buffer)
                   throws IOException
Specified by:
handleRequest in interface Channel
Overrides:
handleRequest in class AbstractChannel
Throws:
IOException


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.