A B C D E F G H I L M N O P R S T U

G

getAddr() - Method in class org.dhcp4java.InetCidr
 
getAddress() - Method in class org.dhcp4java.DHCPPacket
Returns the IP address of the machine to which this datagram is being sent or from which the datagram was received.
getAddrLong() - Method in class org.dhcp4java.InetCidr
 
getAddrPort() - Method in class org.dhcp4java.DHCPPacket
Syntactic sugar for getAddress/getPort.
getBootNamesMap() - Static method in class org.dhcp4java.DHCPConstants
Returns a map associating a BootCode and the user-readable name.
getChaddr() - Method in class org.dhcp4java.DHCPPacket
Returns the chaddr field (Client hardware address - typically MAC address).
getChaddrAsHex() - Method in class org.dhcp4java.DHCPPacket
Returns the chaddr field (Client hardware address - typically MAC address) as a hex string.
getCiaddr() - Method in class org.dhcp4java.DHCPPacket
Returns the ciaddr field (Client IP Address).
getCiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
Returns the ciaddr field (Client IP Address).
getCode() - Method in class org.dhcp4java.DHCPOption
Return the code field (byte).
getComment() - Method in class org.dhcp4java.DHCPPacket
Returns the comment associated to this packet.
getDefaultSocketAddress(DHCPPacket, byte) - Static method in class org.dhcp4java.DHCPResponseFactory
Calculates the addres/port to which the response must be sent, according to rfc 2131, section 4.1.
getDhcpCodesMap() - Static method in class org.dhcp4java.DHCPConstants
Returns a map associating a DHCP code and the user-readable name.
getDHCPMessageType() - Method in class org.dhcp4java.DHCPPacket
Return the DHCP Option Type.
getDhoName(byte) - Static method in class org.dhcp4java.DHCPConstants
Converts a DHCP code into a user-readable DHCP option name.
getDhoNamesMap() - Static method in class org.dhcp4java.DHCPConstants
Returns a map associating a DHCP option code and the user-readable name.
getDhoNamesReverse(String) - Static method in class org.dhcp4java.DHCPConstants
Converts a DHCP option name into the option code.
getDhoNamesReverseMap() - Static method in class org.dhcp4java.DHCPConstants
Returns a map associating a user-readable DHCP option name and the option code.
getFile() - Method in class org.dhcp4java.DHCPPacket
Returns the file field (Boot File Name) as String.
getFileRaw() - Method in class org.dhcp4java.DHCPPacket
Returns the file field (Boot File Name).
getFlags() - Method in class org.dhcp4java.DHCPPacket
Returns the flags field.
getGiaddr() - Method in class org.dhcp4java.DHCPPacket
Returns the giaddr field (Relay agent IP address).
getGiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
Returns the giaddr field (Relay agent IP address).
getHardwareAddress() - Method in class org.dhcp4java.DHCPPacket
Return the hardware address (@MAC) as an HardwareAddress object.
getHardwareAddress() - Method in class org.dhcp4java.HardwareAddress
Object is cloned to avoid any side-effect.
getHardwareAddressByString(String) - Static method in class org.dhcp4java.HardwareAddress
Parse the MAC address in hex format, split by ':'.
getHardwareAddressHex() - Method in class org.dhcp4java.HardwareAddress
 
getHardwareType() - Method in class org.dhcp4java.HardwareAddress
 
getHlen() - Method in class org.dhcp4java.DHCPPacket
Returns the hlen field (Hardware address length).
getHops() - Method in class org.dhcp4java.DHCPPacket
Returns the hops field.
getHostAddress(InetAddress) - Static method in class org.dhcp4java.DHCPPacket
Faster version than InetAddress.getHostAddress().
getHtype() - Method in class org.dhcp4java.DHCPPacket
Returns the htype field (Hardware address length).
getHtypesMap() - Static method in class org.dhcp4java.DHCPConstants
Returns a map associating a HType and the user-readable name.
getInetSocketAddress(Properties) - Method in class org.dhcp4java.DHCPCoreServer
Returns the InetSocketAddress for the server (client-side).
getMask() - Method in class org.dhcp4java.InetCidr
 
getOp() - Method in class org.dhcp4java.DHCPPacket
Returns the op field (Message op code).
getOption(byte) - Method in class org.dhcp4java.DHCPPacket
Returns the option as DHCPOption object.
getOptionAsByte(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as Byte format.
getOptionAsBytes(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as Byte array format.
getOptionAsInetAddr(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as InetAddress format.
getOptionAsInetAddrs(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as InetAddress array format.
getOptionAsInteger(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as Integer format.
getOptionAsNum(byte) - Method in class org.dhcp4java.DHCPPacket
Wrapper function for getValueAsNum() in DHCPOption.
getOptionAsShort(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as Short format.
getOptionAsShorts(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as Short array format.
getOptionAsString(byte) - Method in class org.dhcp4java.DHCPPacket
Returns a DHCP Option as String format.
getOptionFormat(byte) - Static method in class org.dhcp4java.DHCPOption
Returns the type of the option based on the option code.
getOptionRaw(byte) - Method in class org.dhcp4java.DHCPPacket
Returns the option as raw byte[] buffer.
getOptionsArray() - Method in class org.dhcp4java.DHCPPacket
Return an array of all DHCP options.
getOptionsCollection() - Method in class org.dhcp4java.DHCPPacket
Return an ordered list/collection of all options.
getPacket(DatagramPacket) - Static method in class org.dhcp4java.DHCPPacket
Factory for creating DHCPPacket objects by parsing a DatagramPacket object.
getPacket(byte[], int, int, boolean) - Static method in class org.dhcp4java.DHCPPacket
Factory for creating DHCPPacket objects by parsing a byte[] e.g. from a datagram.
getPadding() - Method in class org.dhcp4java.DHCPPacket
Returns the padding portion of the packet.
getPort() - Method in class org.dhcp4java.DHCPPacket
Returns the port number on the remote host to which this datagram is being sent or from which the datagram was received.
getSecs() - Method in class org.dhcp4java.DHCPPacket
Returns the secs field (seconds elapsed).
getServer() - Method in class org.dhcp4java.DHCPServlet
 
getSiaddr() - Method in class org.dhcp4java.DHCPPacket
Returns the siaddr field (IP address of next server).
getSiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
Returns the siaddr field (IP address of next server).
getSname() - Method in class org.dhcp4java.DHCPPacket
Returns the sname field (Optional server host name) as String.
getSnameRaw() - Method in class org.dhcp4java.DHCPPacket
Returns the sname field (Optional server host name).
getSockAddress() - Method in class org.dhcp4java.DHCPCoreServer
 
getValue() - Method in class org.dhcp4java.DHCPOption
 
getValueAsByte() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as Byte format.
getValueAsBytes() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as Byte array format.
getValueAsInetAddr() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as InetAddress format.
getValueAsInetAddrs() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as InetAddress array format.
getValueAsInt() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as Integer format.
getValueAsNum() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as Integer format, but is usable for any numerical type: int, short or byte.
getValueAsShort() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as Short format.
getValueAsShorts() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as Short array format.
getValueAsString() - Method in class org.dhcp4java.DHCPOption
Returns a DHCP Option as String format.
getValueFast() - Method in class org.dhcp4java.DHCPOption
 
getXid() - Method in class org.dhcp4java.DHCPPacket
Returns the xid field (Transaction ID).
getYiaddr() - Method in class org.dhcp4java.DHCPPacket
Returns the yiaddr field ('your' IP address).
getYiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
Returns the yiaddr field ('your' IP address).

A B C D E F G H I L M N O P R S T U