A B C D E F G I M N O P R S T U W

A

ACCESS_VIOLATION - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The access violation error code according to RFC 783, value 2.
ACKNOWLEDGEMENT - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPPacket
This is the actual TFTP spec identifier and is equal to 4.
ASCII_MODE - Static variable in class org.jvnet.hudson.tftpd.impl.TFTP
The ascii transfer mode.

B

beginBufferedOps() - Method in class org.jvnet.hudson.tftpd.impl.TFTP
Initializes the internal buffers.
BINARY_MODE - Static variable in class org.jvnet.hudson.tftpd.impl.TFTP
The binary transfer mode.
bufferedReceive() - Method in class org.jvnet.hudson.tftpd.impl.TFTP
This is a special method to perform a more efficient packet receive.
bufferedSend(TFTPPacket) - Method in class org.jvnet.hudson.tftpd.impl.TFTP
This is a special method to perform a more efficient packet send.

C

close() - Method in class org.jvnet.hudson.tftpd.TFTPServer
Closes the daemon.

D

Data - Class in org.jvnet.hudson.tftpd
 
Data() - Constructor for class org.jvnet.hudson.tftpd.Data
 
DATA - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPPacket
This is the actual TFTP spec identifier and is equal to 3.
DEFAULT_PORT - Static variable in class org.jvnet.hudson.tftpd.impl.TFTP
The default TFTP port according to RFC 783 is 69.
DEFAULT_TIMEOUT - Static variable in class org.jvnet.hudson.tftpd.impl.TFTP
The default number of milliseconds to wait to receive a datagram before timing out.
discardPackets() - Method in class org.jvnet.hudson.tftpd.impl.TFTP
This method synchronizes a connection by discarding all packets that may be in the local socket buffer.

E

endBufferedOps() - Method in class org.jvnet.hudson.tftpd.impl.TFTP
Releases the resources used to perform buffered sends and receives.
ERROR - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPPacket
This is the actual TFTP spec identifier and is equal to 5.
execute() - Method in class org.jvnet.hudson.tftpd.TFTPServer
Main loop of the TFTP server.

F

FILE_EXISTS - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The file already exists error code according to RFC 783, value 6.
FILE_NOT_FOUND - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The file not found error code according to RFC 783, value 1.
from(URL) - Static method in class org.jvnet.hudson.tftpd.Data
Creates a Data object from a URL.
from(String) - Static method in class org.jvnet.hudson.tftpd.Data
Creates a Data object around a String.
from(byte[]) - Static method in class org.jvnet.hudson.tftpd.Data
Creates a Data object around a byte array.

G

getAddress() - Method in class org.jvnet.hudson.tftpd.impl.TFTPPacket
Returns the address of the host where the packet is going to be sent or where it came from.
getBlockNumber() - Method in class org.jvnet.hudson.tftpd.impl.TFTPAckPacket
Returns the block number of the acknowledgement.
getBlockNumber() - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Returns the block number of the data packet.
getData() - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Returns the byte array containing the packet data.
getDataLength() - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Returns the length of the data part of the data packet.
getDataOffset() - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Returns the offset into the byte array where the packet data actually starts.
getError() - Method in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
Returns the error code of the packet.
getFilename() - Method in class org.jvnet.hudson.tftpd.impl.TFTPRequestPacket
Returns the requested filename.
getMessage() - Method in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
Returns the error message of the packet.
getMode() - Method in class org.jvnet.hudson.tftpd.impl.TFTPRequestPacket
Returns the transfer mode of the request.
getModeName(int) - Static method in class org.jvnet.hudson.tftpd.impl.TFTP
Returns the TFTP string representation of a TFTP transfer mode.
getPort() - Method in class org.jvnet.hudson.tftpd.impl.TFTPPacket
Returns the port where the packet is going to be sent or where it came from.
getType() - Method in class org.jvnet.hudson.tftpd.impl.TFTPPacket
Returns the type of the packet.

I

ILLEGAL_OPERATION - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The illegal TFTP operation error code according to RFC 783, value 4.
IMAGE_MODE - Static variable in class org.jvnet.hudson.tftpd.impl.TFTP
The image transfer mode.

M

main(String[]) - Static method in class org.jvnet.hudson.tftpd.TFTPServer
Debug main method.
MAX_DATA_LENGTH - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
The maximum number of bytes in a TFTP data packet (512)
MIN_DATA_LENGTH - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
The minimum number of bytes in a TFTP data packet (0)

N

NETASCII_MODE - Static variable in class org.jvnet.hudson.tftpd.impl.TFTP
The netascii transfer mode.
newDatagram() - Method in class org.jvnet.hudson.tftpd.impl.TFTPAckPacket
Creates a UDP datagram containing all the TFTP acknowledgement packet data in the proper format.
newDatagram() - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Creates a UDP datagram containing all the TFTP data packet data in the proper format.
newDatagram() - Method in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
Creates a UDP datagram containing all the TFTP error packet data in the proper format.
newDatagram() - Method in class org.jvnet.hudson.tftpd.impl.TFTPOAckPacket
 
newDatagram() - Method in class org.jvnet.hudson.tftpd.impl.TFTPPacket
Creates a UDP datagram containing all the TFTP packet data in the proper format.
newDatagram() - Method in class org.jvnet.hudson.tftpd.impl.TFTPRequestPacket
Creates a UDP datagram containing all the TFTP request packet data in the proper format.
newTFTPPacket(DatagramPacket) - Static method in class org.jvnet.hudson.tftpd.impl.TFTPPacket
When you receive a datagram that you expect to be a TFTP packet, you use this factory method to create the proper TFTPPacket object encapsulating the data contained in that datagram.
NO_SUCH_USER - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The no such user error code according to RFC 783, value 7.

O

OACK - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPPacket
Option Acknowledgement packet.
OCTET_MODE - Static variable in class org.jvnet.hudson.tftpd.impl.TFTP
The octet transfer mode.
open(String) - Method in interface org.jvnet.hudson.tftpd.PathResolver
If a file name points to a resource, return it.
options - Variable in class org.jvnet.hudson.tftpd.impl.TFTPOAckPacket
 
options - Variable in class org.jvnet.hudson.tftpd.impl.TFTPRequestPacket
 
org.jvnet.hudson.tftpd - package org.jvnet.hudson.tftpd
 
org.jvnet.hudson.tftpd.impl - package org.jvnet.hudson.tftpd.impl
 
OUT_OF_SPACE - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The disk full error code according to RFC 783, value 3.

P

PathResolver - Interface in org.jvnet.hudson.tftpd
The file system view of TFTP server.

R

read() - Method in class org.jvnet.hudson.tftpd.Data
Reads this data.
READ_REQUEST - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPPacket
This is the actual TFTP spec identifier and is equal to 1.
receive() - Method in class org.jvnet.hudson.tftpd.impl.TFTP
Receives a TFTPPacket.
run() - Method in class org.jvnet.hudson.tftpd.TFTPServer
Calls TFTPServer.execute() but handles the IOException by itself.

S

SEGMENT_SIZE - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPPacket
The TFTP data packet maximum segment size in bytes.
send(TFTPPacket) - Method in class org.jvnet.hudson.tftpd.impl.TFTP
Sends a TFTP packet to its destination.
setAddress(InetAddress) - Method in class org.jvnet.hudson.tftpd.impl.TFTPPacket
Sets the host address where the packet is going to be sent.
setBlockNumber(int) - Method in class org.jvnet.hudson.tftpd.impl.TFTPAckPacket
Sets the block number of the acknowledgement.
setBlockNumber(int) - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Sets the block number of the data packet.
setData(byte[], int, int) - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Sets the data for the data packet.
setPort(int) - Method in class org.jvnet.hudson.tftpd.impl.TFTPPacket
Sets the port where the packet is going to be sent.
size() - Method in class org.jvnet.hudson.tftpd.Data
Computes the size of the data.

T

TFTP - Class in org.jvnet.hudson.tftpd.impl
The TFTP class exposes a set of methods to allow you to deal with the TFTP protocol directly, in case you want to write your own TFTP client or server.
TFTP() - Constructor for class org.jvnet.hudson.tftpd.impl.TFTP
Creates a TFTP instance with a default timeout of DEFAULT_TIMEOUT, a null socket, and buffered operations disabled.
TFTPAckPacket - Class in org.jvnet.hudson.tftpd.impl
A final class derived from TFTPPacket definiing the TFTP Acknowledgement packet type.
TFTPAckPacket(InetAddress, int, int) - Constructor for class org.jvnet.hudson.tftpd.impl.TFTPAckPacket
Creates an acknowledgment packet to be sent to a host at a given port acknowledging receipt of a block.
TFTPDataPacket - Class in org.jvnet.hudson.tftpd.impl
A final class derived from TFTPPacket definiing the TFTP Data packet type.
TFTPDataPacket(InetAddress, int, int, byte[], int, int) - Constructor for class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
Creates a data packet to be sent to a host at a given port with a given block number.
TFTPDataPacket(InetAddress, int, int, byte[]) - Constructor for class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
 
TFTPErrorPacket - Class in org.jvnet.hudson.tftpd.impl
A final class derived from TFTPPacket definiing the TFTP Error packet type.
TFTPErrorPacket(InetAddress, int, int, String) - Constructor for class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
Creates an error packet to be sent to a host at a given port with an error code and error message.
TFTPOAckPacket - Class in org.jvnet.hudson.tftpd.impl
 
TFTPOAckPacket(InetAddress, int) - Constructor for class org.jvnet.hudson.tftpd.impl.TFTPOAckPacket
 
TFTPPacket - Class in org.jvnet.hudson.tftpd.impl
TFTPPacket is an abstract class encapsulating the functionality common to the 5 types of TFTP packets.
TFTPPacketException - Exception in org.jvnet.hudson.tftpd.impl
A class used to signify the occurrence of an error in the creation of a TFTP packet.
TFTPPacketException() - Constructor for exception org.jvnet.hudson.tftpd.impl.TFTPPacketException
Simply calls the corresponding constructor of its superclass.
TFTPPacketException(String) - Constructor for exception org.jvnet.hudson.tftpd.impl.TFTPPacketException
Simply calls the corresponding constructor of its superclass.
TFTPReadRequestPacket - Class in org.jvnet.hudson.tftpd.impl
A class derived from TFTPRequestPacket definiing a TFTP read request packet type.
TFTPReadRequestPacket(InetAddress, int, String, int) - Constructor for class org.jvnet.hudson.tftpd.impl.TFTPReadRequestPacket
Creates a read request packet to be sent to a host at a given port with a filename and transfer mode request.
TFTPRequestPacket - Class in org.jvnet.hudson.tftpd.impl
An abstract class derived from TFTPPacket definiing a TFTP Request packet type.
TFTPServer - Class in org.jvnet.hudson.tftpd
TFTP server.
TFTPServer(PathResolver) - Constructor for class org.jvnet.hudson.tftpd.TFTPServer
 
toString() - Method in class org.jvnet.hudson.tftpd.impl.TFTPDataPacket
 

U

UNDEFINED - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The undefined error code according to RFC 783, value 0.
UNKNOWN_TID - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPErrorPacket
The unknown transfer id error code according to RFC 783, value 5.

W

WRITE_REQUEST - Static variable in class org.jvnet.hudson.tftpd.impl.TFTPPacket
This is the actual TFTP spec identifier and is equal to 2.

A B C D E F G I M N O P R S T U W

Copyright © 2009. All Rights Reserved.