public abstract class TFTPRequestPacket extends TFTPPacket
Details regarding the TFTP protocol and the format of TFTP packets can
be found in RFC 783. But the point of these classes is to keep you
from having to worry about the internals. Additionally, only very
few people should have to care about any of the TFTPPacket classes
or derived classes. Almost all users should only be concerned with the
|Modifier and Type||Method and Description|
Returns the requested file name.
Returns the transfer mode of the request.
Creates a UDP datagram containing all the TFTP request packet data in the proper format.
getAddress, getPort, getType, newTFTPPacket, setAddress, setPort, toString
public final DatagramPacket newDatagram()
TFTPClientclass. Under normal circumstances, you should not have a need to call this method.
public final int getMode()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.