com.jcraft.jsch.Packet Class Reference

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

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

List of all members.

Public Member Functions

 Packet (Buffer buffer)
 creates a new Packet, based on a buffer.
void reset ()
 resets the buffer's index to point to the start of the payload.

Package Functions

void padding (int bsize)
int shift (int len, int bsize, int mac)
void unshift (byte command, int recipient, int s, int len)
Buffer getBuffer ()

Static Package Functions

static void setRandom (Random foo)

Package Attributes

Buffer buffer
byte[] ba4 = new byte[4]

Static Private Attributes

static Random random = null

Detailed Description

Usually not to be used by applications.

A single packet to be sent to or received from the remote side. The packet class handles padding of a Buffer.

Definition at line 38 of file Packet.java.


Constructor & Destructor Documentation

com.jcraft.jsch.Packet.Packet ( Buffer  buffer  ) 

creates a new Packet, based on a buffer.

Parameters:
buffer the Buffer to be used for the packets data.

Definition at line 50 of file Packet.java.


Member Function Documentation

Buffer com.jcraft.jsch.Packet.getBuffer (  )  [package]

Definition at line 127 of file Packet.java.

References com.jcraft.jsch.Packet.buffer.

void com.jcraft.jsch.Packet.padding ( int  bsize  )  [package]
void com.jcraft.jsch.Packet.reset (  ) 
static void com.jcraft.jsch.Packet.setRandom ( Random  foo  )  [static, package]

Definition at line 41 of file Packet.java.

References com.jcraft.jsch.Packet.random.

int com.jcraft.jsch.Packet.shift ( int  len,
int  bsize,
int  mac 
) [package]
void com.jcraft.jsch.Packet.unshift ( byte  command,
int  recipient,
int  s,
int  len 
) [package]

Member Data Documentation

byte [] com.jcraft.jsch.Packet.ba4 = new byte[4] [package]

Definition at line 44 of file Packet.java.

Referenced by com.jcraft.jsch.Packet.padding().

Random com.jcraft.jsch.Packet.random = null [static, private]

Definition at line 40 of file Packet.java.

Referenced by com.jcraft.jsch.Packet.padding(), and com.jcraft.jsch.Packet.setRandom().


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1