net.sf.jfilesync.plugins.net.items
Class SshGnuPlugin.SessionInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by net.sf.jfilesync.plugins.net.items.SshGnuPlugin.SessionInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
SshGnuPlugin

static class SshGnuPlugin.SessionInputStream
extends java.io.InputStream


Field Summary
private  byte[] buf
           
private  boolean cancelled
           
private  int pos
           
private  boolean waitingForInput
           
 
Constructor Summary
SshGnuPlugin.SessionInputStream()
           
 
Method Summary
 int available()
           
 void cancel()
           
 void issueCommand(java.lang.String command)
           
 boolean isWaitingForInput()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buf

private byte[] buf

cancelled

private boolean cancelled

pos

private int pos

waitingForInput

private boolean waitingForInput
Constructor Detail

SshGnuPlugin.SessionInputStream

public SshGnuPlugin.SessionInputStream()
Method Detail

issueCommand

public void issueCommand(java.lang.String command)

cancel

public void cancel()

isWaitingForInput

public boolean isWaitingForInput()

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException