net.sf.jfilesync.plugins.net.items
Class SshGnuPlugin.SessionInputStream
java.lang.Object
java.io.InputStream
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
| 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 |
buf
private byte[] buf
cancelled
private boolean cancelled
pos
private int pos
waitingForInput
private boolean waitingForInput
SshGnuPlugin.SessionInputStream
public SshGnuPlugin.SessionInputStream()
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