Java org.apache.commons.net.tftp TFTPErrorPacket fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.tftp TFTPErrorPacket fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.tftp TFTPErrorPacket.

The text is from its open source code.

Field

intUNDEFINED
The undefined error code according to RFC 783, value 0.
intFILE_NOT_FOUND
The file not found error code according to RFC 783, value 1.
intILLEGAL_OPERATION
The illegal TFTP operation error code according to RFC 783, value 4.
intUNKNOWN_TID
The unknown transfer id error code according to RFC 783, value 5.

Constructor

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.

Method

StringgetMessage()
Returns the error message of the packet.