Package filius.software.dhcp
Class DHCPMessage
java.lang.Object
filius.software.dhcp.DHCPMessage
Class representing a simplified dhcp message (e.g. without the not necessarily needed ciaddr, siaddr)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanClient hardware address (i.e. the clients MAC address)IP address of the DNS server to useIP address the client requests from the serverIP address of the router to useIP address of the DHCP serverIP subnet mask to usegetType()DHCP message typeYour IP address (i.e. in case of DHCP offer the available address for the client to use)inthashCode()toString()
-
Method Details
-
getType
DHCP message type -
getYiaddr
Your IP address (i.e. in case of DHCP offer the available address for the client to use) -
getChaddr
Client hardware address (i.e. the clients MAC address) -
getSubnetMask
IP subnet mask to use -
getRouter
IP address of the router to use -
getDnsServer
IP address of the DNS server to use -
getServerIdentifier
IP address of the DHCP server -
getRequestedAddress
IP address the client requests from the server -
toString
-
equals
-
hashCode
public int hashCode()
-