Example usage for Java org.apache.commons.net.tftp TFTPDataPacket fields, constructors, methods, implement or subclass
The text is from its open source code.
int | MAX_DATA_LENGTH The maximum number of bytes in a TFTP data packet (512) |
TFTPDataPacket(InetAddress destination, int port, int blockNumber, byte[] data, int offset, int length) Creates a data packet to be sent to a host at a given port with a given block number. |
int | getBlockNumber() Returns the block number of the data packet. |
byte[] | getData() Returns the byte array containing the packet data. |
int | getDataLength() Returns the length of the data part of the data packet. |
int | getDataOffset() Returns the offset into the byte array where the packet data actually starts. |