java.lang.Object | +--org.apache.commons.net.tftp.TFTPPacket | +--org.apache.commons.net.tftp.TFTPErrorPacket
TFTPPacket
TFTPPacketException
TFTP
static int | The access violation error code according to RFC 783, value 2. |
static int | The file already exists error code according to RFC 783, value 6. |
static int | The file not found error code according to RFC 783, value 1. |
static int | The illegal TFTP operation error code according to RFC 783, value 4. |
static int | The no such user error code according to RFC 783, value 7. |
static int | The disk full error code according to RFC 783, value 3. |
static int | The undefined error code according to RFC 783, value 0. |
static int | The unknown transfer id error code according to RFC 783, value 5. |
TFTPErrorPacket(InetAddress destination, int port, int error, String message) Creates an error packet to be sent to a host at a given port with an error code and error message. |
int | getError() Returns the error code of the packet. |
String | Returns the error message of the packet. |
DatagramPacket | Creates a UDP datagram containing all the TFTP error packet data in the proper format. |
public static final int ACCESS_VIOLATION
public static final int FILE_EXISTS
public static final int FILE_NOT_FOUND
public static final int ILLEGAL_OPERATION
public static final int NO_SUCH_USER
public static final int OUT_OF_SPACE
public static final int UNDEFINED
public static final int UNKNOWN_TID
public TFTPErrorPacket(InetAddress destination, int port, int error, String message)
public int getError()
public String getMessage()
public DatagramPacket newDatagram()