Usually not to be used by applications. More...
Public Member Functions | |
void | put (Packet p) throws IOException, java.net.SocketException |
void | close () |
Package Functions | |
void | setOutputStream (OutputStream out) |
void | setOutputStream (OutputStream out, boolean dontclose) |
void | setExtOutputStream (OutputStream out) |
void | setExtOutputStream (OutputStream out, boolean dontclose) |
void | setInputStream (InputStream in) |
void | setInputStream (InputStream in, boolean dontclose) |
void | put (byte[] array, int begin, int length) throws IOException |
void | put_ext (byte[] array, int begin, int length) throws IOException |
int | getByte () throws IOException |
void | getByte (byte[] array) throws IOException |
void | getByte (byte[] array, int begin, int length) throws IOException |
void | out_close () |
Package Attributes | |
InputStream | in |
OutputStream | out |
OutputStream | out_ext |
Private Attributes | |
boolean | in_dontclose = false |
boolean | out_dontclose = false |
boolean | out_ext_dontclose = false |
Usually not to be used by applications.
Bundles an Inputstream and one or two OutputStreams, together with some convenience methods to access them.
This class is used internally, there is actually no reason for it to be public.
Definition at line 43 of file IO.java.
void com.jcraft.jsch.IO.close | ( | ) |
Definition at line 109 of file IO.java.
References com.jcraft.jsch.IO.in, com.jcraft.jsch.IO.in_dontclose, com.jcraft.jsch.IO.out_close(), com.jcraft.jsch.IO.out_ext, and com.jcraft.jsch.IO.out_ext_dontclose.
Referenced by com.jcraft.jsch.ChannelDirectTCPIP.connect(), and com.jcraft.jsch.ChannelX11.write().
void com.jcraft.jsch.IO.getByte | ( | byte[] | array, | |
int | begin, | |||
int | length | |||
) | throws IOException [package] |
Definition at line 89 of file IO.java.
References com.jcraft.jsch.IO.in.
void com.jcraft.jsch.IO.getByte | ( | byte[] | array | ) | throws IOException [package] |
Definition at line 85 of file IO.java.
References com.jcraft.jsch.IO.getByte().
int com.jcraft.jsch.IO.getByte | ( | ) | throws IOException [package] |
Definition at line 81 of file IO.java.
References com.jcraft.jsch.IO.in.
Referenced by com.jcraft.jsch.Session.connect(), and com.jcraft.jsch.IO.getByte().
void com.jcraft.jsch.IO.out_close | ( | ) | [package] |
Definition at line 101 of file IO.java.
References com.jcraft.jsch.IO.out, and com.jcraft.jsch.IO.out_dontclose.
Referenced by com.jcraft.jsch.IO.close().
void com.jcraft.jsch.IO.put | ( | byte[] | array, | |
int | begin, | |||
int | length | |||
) | throws IOException [package] |
Definition at line 72 of file IO.java.
References com.jcraft.jsch.IO.out.
void com.jcraft.jsch.IO.put | ( | Packet | p | ) | throws IOException, java.net.SocketException |
Definition at line 68 of file IO.java.
References com.jcraft.jsch.IO.out.
Referenced by com.jcraft.jsch.Session.connect(), and com.jcraft.jsch.ChannelX11.write().
void com.jcraft.jsch.IO.put_ext | ( | byte[] | array, | |
int | begin, | |||
int | length | |||
) | throws IOException [package] |
Definition at line 76 of file IO.java.
References com.jcraft.jsch.IO.out_ext.
void com.jcraft.jsch.IO.setExtOutputStream | ( | OutputStream | out, | |
boolean | dontclose | |||
) | [package] |
Definition at line 58 of file IO.java.
References com.jcraft.jsch.IO.out_ext_dontclose, and com.jcraft.jsch.IO.setExtOutputStream().
void com.jcraft.jsch.IO.setExtOutputStream | ( | OutputStream | out | ) | [package] |
Definition at line 57 of file IO.java.
References com.jcraft.jsch.IO.out_ext.
Referenced by com.jcraft.jsch.IO.setExtOutputStream().
void com.jcraft.jsch.IO.setInputStream | ( | InputStream | in, | |
boolean | dontclose | |||
) | [package] |
Definition at line 63 of file IO.java.
References com.jcraft.jsch.IO.in_dontclose, and com.jcraft.jsch.IO.setInputStream().
void com.jcraft.jsch.IO.setInputStream | ( | InputStream | in | ) | [package] |
Definition at line 62 of file IO.java.
Referenced by com.jcraft.jsch.Session.connect(), com.jcraft.jsch.ChannelSubsystem.init(), com.jcraft.jsch.ChannelShell.init(), com.jcraft.jsch.ChannelExec.init(), com.jcraft.jsch.ChannelX11.run(), com.jcraft.jsch.ChannelForwardedTCPIP.run(), com.jcraft.jsch.IO.setInputStream(), and com.jcraft.jsch.ChannelDirectTCPIP.setInputStream().
void com.jcraft.jsch.IO.setOutputStream | ( | OutputStream | out, | |
boolean | dontclose | |||
) | [package] |
Definition at line 53 of file IO.java.
References com.jcraft.jsch.IO.out_dontclose, and com.jcraft.jsch.IO.setOutputStream().
void com.jcraft.jsch.IO.setOutputStream | ( | OutputStream | out | ) | [package] |
Definition at line 52 of file IO.java.
Referenced by com.jcraft.jsch.Session.connect(), com.jcraft.jsch.ChannelSubsystem.init(), com.jcraft.jsch.ChannelShell.init(), com.jcraft.jsch.ChannelExec.init(), com.jcraft.jsch.ChannelX11.run(), com.jcraft.jsch.ChannelForwardedTCPIP.run(), com.jcraft.jsch.IO.setOutputStream(), and com.jcraft.jsch.ChannelDirectTCPIP.setOutputStream().
InputStream com.jcraft.jsch.IO.in [package] |
Definition at line 44 of file IO.java.
Referenced by com.jcraft.jsch.IO.close(), com.jcraft.jsch.ChannelDirectTCPIP.connect(), com.jcraft.jsch.IO.getByte(), com.jcraft.jsch.ChannelX11.run(), com.jcraft.jsch.ChannelSession.run(), com.jcraft.jsch.ChannelForwardedTCPIP.run(), com.jcraft.jsch.ChannelDirectTCPIP.run(), com.jcraft.jsch.ChannelSubsystem.start(), com.jcraft.jsch.ChannelShell.start(), and com.jcraft.jsch.ChannelExec.start().
boolean com.jcraft.jsch.IO.in_dontclose = false [private] |
Definition at line 48 of file IO.java.
Referenced by com.jcraft.jsch.IO.close(), and com.jcraft.jsch.IO.setInputStream().
OutputStream com.jcraft.jsch.IO.out [package] |
Definition at line 45 of file IO.java.
Referenced by com.jcraft.jsch.IO.out_close(), and com.jcraft.jsch.IO.put().
boolean com.jcraft.jsch.IO.out_dontclose = false [private] |
Definition at line 49 of file IO.java.
Referenced by com.jcraft.jsch.IO.out_close(), and com.jcraft.jsch.IO.setOutputStream().
OutputStream com.jcraft.jsch.IO.out_ext [package] |
Definition at line 46 of file IO.java.
Referenced by com.jcraft.jsch.IO.close(), com.jcraft.jsch.IO.put_ext(), and com.jcraft.jsch.IO.setExtOutputStream().
boolean com.jcraft.jsch.IO.out_ext_dontclose = false [private] |
Definition at line 50 of file IO.java.
Referenced by com.jcraft.jsch.IO.close(), and com.jcraft.jsch.IO.setExtOutputStream().