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

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

Introduction

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

The text is from its open source code.

Field

intREAD_REQUEST
This is the actual TFTP spec identifier and is equal to 1.
intWRITE_REQUEST
This is the actual TFTP spec identifier and is equal to 2.
intDATA
This is the actual TFTP spec identifier and is equal to 3.
intACKNOWLEDGEMENT
This is the actual TFTP spec identifier and is equal to 4.
intERROR
This is the actual TFTP spec identifier and is equal to 5.

Method

InetAddressgetAddress()
Returns the address of the host where the packet is going to be sent or where it came from.
intgetPort()
Returns the port where the packet is going to be sent or where it came from.
intgetType()
Returns the type of the packet.