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

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

Introduction

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

The text is from its open source code.

Constructor

TFTPAckPacket(InetAddress destination, int port, int blockNumber)
Creates an acknowledgment packet to be sent to a host at a given port acknowledging receipt of a block.

Method

InetAddressgetAddress()
Returns the address of the host where the packet is going to be sent or where it came from.
intgetBlockNumber()
Returns the block number of the acknowledgement.