com.jcraft.jsch.IO Class Reference

Usually not to be used by applications. More...

Collaboration diagram for com.jcraft.jsch.IO:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Member Function Documentation

void com.jcraft.jsch.IO.close (  ) 
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]
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]
void com.jcraft.jsch.IO.setOutputStream ( OutputStream  out,
boolean  dontclose 
) [package]
void com.jcraft.jsch.IO.setOutputStream ( OutputStream  out  )  [package]

Member Data Documentation

InputStream com.jcraft.jsch.IO.in [package]
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]
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().


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1