All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- assemble(DatagramPacket).
Method in class net.fsp.FSPpacket
- generate UDP packet from this FSP packet
- available().
Method in class net.fsp.FSPInputStream
- returns the number of bytes that can be read from this input stream
without blocking.
- bb_key.
Variable in class net.fsp.FSPpacket
- server access KEY, needs to be correct
- bb_len.
Variable in class net.fsp.FSPpacket
- number of required bytes in buffer
- bb_pos.
Variable in class net.fsp.FSPpacket
- file position pointer (4GB-1 max)
- bb_seq.
Variable in class net.fsp.FSPpacket
- client side sequence number, any number can be used
- buf.
Variable in class net.fsp.FSPpacket
- buffer for holding user generated data to be transmited via FSP protocol
- CC_BYE.
Static variable in class net.fsp.FSPpacket
- finish a session
- CC_DEL_DIR.
Static variable in class net.fsp.FSPpacket
- delete directory
- CC_DEL_FILE.
Static variable in class net.fsp.FSPpacket
- delete file
- CC_ERR.
Static variable in class net.fsp.FSPpacket
- error response from server
- CC_GET_DIR.
Static variable in class net.fsp.FSPpacket
- get a directory listing
- CC_GET_FILE.
Static variable in class net.fsp.FSPpacket
- get a file
- CC_GET_PRO.
Static variable in class net.fsp.FSPpacket
- get directory protection
- CC_GRAB_DONE.
Static variable in class net.fsp.FSPpacket
- atomic get+delete done
- CC_GRAB_FILE.
Static variable in class net.fsp.FSPpacket
- atomic get+delete
- CC_INFO.
Static variable in class net.fsp.FSPpacket
- get server info block
- CC_INSTALL.
Static variable in class net.fsp.FSPpacket
- close a opened file f/wrt
- CC_LIMIT.
Static variable in class net.fsp.FSPpacket
- commands >7f are reserverd for FSP v3 headers
- CC_MAKE_DIR.
Static variable in class net.fsp.FSPpacket
- make directory
- CC_RENAME.
Static variable in class net.fsp.FSPpacket
- rename file or directory
- CC_SET_PRO.
Static variable in class net.fsp.FSPpacket
- set directory protection
- CC_STAT.
Static variable in class net.fsp.FSPpacket
- get file/directory information
- CC_TEST.
Static variable in class net.fsp.FSPpacket
- reserved for testing FSP v3 header
- CC_UP_LOAD.
Static variable in class net.fsp.FSPpacket
- open file for writing
- CC_VERSION.
Static variable in class net.fsp.FSPpacket
- get server setup
- close().
Method in class net.fsp.FSPInputStream
- frees internal buffers.
- close().
Method in class net.fsp.FSPsession
- close a session.
- cmd.
Variable in class net.fsp.FSPpacket
- FSP command, use one of CC_ constants
- connect().
Method in class net.fsp.FSPURLConnection
- gets file status from FSP server.
- createURLStreamHandler(String).
Method in class net.fsp.Handler
- creates URLStreamHandler instance for FSP protocol.
- DEFAULT_DELAY.
Static variable in class net.fsp.FSPsession
- default resend delay
- DEFAULT_TIMEOUT.
Static variable in class net.fsp.FSPsession
- default timeout (msec)
- disassemble(DatagramPacket).
Method in class net.fsp.FSPpacket
- Disassemble UDP packet into this FSP packet
- download(FSPsession, String, OutputStream, long, long).
Static method in class net.fsp.FSPutil
- Downloads a file from FSP server.
- finalize().
Method in class net.fsp.FSPsession
- closes session before doing GC.
- FSPInputStream(FSPsession, String).
Constructor for class net.fsp.FSPInputStream
- creates a new Input stream for reading file from fsp server
- FSPsession(InetAddress, int).
Constructor for class net.fsp.FSPsession
- Creates a new FSP session
- FSPsession(String, int).
Constructor for class net.fsp.FSPsession
- Creates a new FSP session
- FSPstat().
Constructor for class net.fsp.FSPstat
-
- FSPutil().
Constructor for class net.fsp.FSPutil
-
- getDelay().
Method in class net.fsp.FSPsession
- gets the delay.
- getHeaderField(String).
Method in class net.fsp.FSPURLConnection
- returns value of specified header field.
- getInputStream().
Method in class net.fsp.FSPURLConnection
- returns input stream of file from FSPserver.
- getMaxDelay().
Method in class net.fsp.FSPsession
- gets the maximum delay between packets.
- getTimeout().
Method in class net.fsp.FSPsession
- get timeout value.
- Handler().
Constructor for class net.fsp.Handler
-
- HSIZE.
Static variable in class net.fsp.FSPpacket
- Size of FSP protocol v2 header - 12 bytes.
- interact(byte, long, byte[], int, int, byte[], int, int).
Method in class net.fsp.FSPsession
- Sends FSP packet and waits for reply, resend packet if needed
- lastmod.
Variable in class net.fsp.FSPstat
- last modification time in standard Java timeunits
- length.
Variable in class net.fsp.FSPstat
- length
- list(FSPsession, String).
Static method in class net.fsp.FSPutil
- get a file list from server.
- main(String[]).
Static method in class net.fsp.testcase
-
- mark(int).
Method in class net.fsp.FSPInputStream
- marks current position in the stream.
- markSupported().
Method in class net.fsp.FSPInputStream
- returns true - mark is supported.
- MAX_DELAY.
Static variable in class net.fsp.FSPsession
- maximum resend delay.
- MAXSIZE.
Static variable in class net.fsp.FSPpacket
- Maximum packet size (HSIZE+SPACE)
- MIN_DELAY.
Static variable in class net.fsp.FSPsession
- minimum resend delay
- name.
Variable in class net.fsp.FSPstat
- name
- openConnection(URL).
Method in class net.fsp.Handler
- opens a FSP connection.
- RDTYPE_DIR.
Static variable in class net.fsp.FSPstat
- object is a directory
- RDTYPE_FILE.
Static variable in class net.fsp.FSPstat
- object type is a file
- read().
Method in class net.fsp.FSPInputStream
- reads next byte from stream or -1 if EOF
- read(byte[], int, int).
Method in class net.fsp.FSPInputStream
- reads data from FSP stream
- reset().
Method in class net.fsp.FSPInputStream
- Repositions this stream to the position at the time the mark method was last called on this input stream.
- setData(byte[], int, int, byte[], int, int).
Method in class net.fsp.FSPpacket
- set FSP data payload to data1 and data2
- setDelay(int).
Method in class net.fsp.FSPsession
- sets the delay.
- setMaxDelay(int).
Method in class net.fsp.FSPsession
- sets the maximum delay between packets.
- setTimeout(int).
Method in class net.fsp.FSPsession
- set timeout value.
- skip(long).
Method in class net.fsp.FSPInputStream
- skips n bytes in input stream.
- SPACE.
Static variable in class net.fsp.FSPpacket
- Maximum size of FSP data space - 1024 bytes.
- stat(FSPsession, String).
Static method in class net.fsp.FSPutil
- Gets information about file or directory.
- statlist(FSPsession, String).
Static method in class net.fsp.FSPutil
- get a stat list from server.
- statSupported(FSPsession).
Static method in class net.fsp.FSPutil
- check if FSP server supports CC_STAT command.
- stringToASCIIZ(String).
Static method in class net.fsp.FSPutil
- Converts String to ASCIIZ byte array.
- sum.
Variable in class net.fsp.FSPpacket
- FSP packet checksum, field is computed by assemble()
- testcase().
Constructor for class net.fsp.testcase
-
- toString().
Method in class net.fsp.FSPpacket
- prints header of FSP packet.
- toString().
Method in class net.fsp.FSPstat
- converts stat information to human-readable string
- type.
Variable in class net.fsp.FSPstat
- object type
- xtra_len.
Variable in class net.fsp.FSPpacket
- optional data size in buffer