A B C D E G I N O P R S

A

ACK - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPACK Message

B

BROADCAST_ADDR - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
 

C

CLIENT_PORT - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Default DHCP client port
contains(byte) - Method in class edu.bucknell.net.JDHCP.DHCPOptions
 

D

DECLINE - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPDECLINE Message
DHCPMessage - class edu.bucknell.net.JDHCP.DHCPMessage.
This class represents a DHCP Message.
DHCPMessage() - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object, sets the host to the broadcast address, the local subnet, binds to the default server port.
DHCPMessage(byte[]) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object with a specified byte array containing DHCP message information, sets the host to default host name, the local subnet, and bind to the default server port.
DHCPMessage(byte[], InetAddress) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object with a specified byte array containing DHCP message information, sets the host to specified host name, and binds to the specified port.
DHCPMessage(byte[], InetAddress, int) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object with a specified byte array containing DHCP message information, sets the host to specified host name, and binds to the specified port.
DHCPMessage(byte[], int) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object with a specified byte array containing DHCP message information, sets the host to broadcast address, and binds to the specified port.
DHCPMessage(DataInputStream) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
 
DHCPMessage(DHCPMessage) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Copy constructor creates DHCPMessage from inMessage
DHCPMessage(DHCPMessage, InetAddress) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
 
DHCPMessage(DHCPMessage, InetAddress, int) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Copy constructor creates DHCPMessage from inMessage and sets server and port
DHCPMessage(InetAddress) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object, sets the host to a specified host name, and binds to the default port.
DHCPMessage(InetAddress, int) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object, sets the host to a specified host name, and binds to a specified port.
DHCPMessage(int) - Constructor for class edu.bucknell.net.JDHCP.DHCPMessage
Creates empty DHCPMessage object, initializes the object, sets the host to the broadcast address, and binds to a specified port.
DHCPOptions - class edu.bucknell.net.JDHCP.DHCPOptions.
This class represents a linked list of options for a DHCP message.
DHCPOptions() - Constructor for class edu.bucknell.net.JDHCP.DHCPOptions
 
DHCPSocket - class edu.bucknell.net.JDHCP.DHCPSocket.
This class represents a Socket for sending DHCP Messages
DHCPSocket(int) - Constructor for class edu.bucknell.net.JDHCP.DHCPSocket
Constructor for creating DHCPSocket on a specific port on the local machine.
DISCOVER - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPDISCOVER Message

E

externalize() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Converts a DHCPMessage object to a byte array.
externalize() - Method in class edu.bucknell.net.JDHCP.DHCPOptions
Converts a linked options list to a byte array

G

getChaddr() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get client harware address.
getCiaddr() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get client IP address.
getDestinationAddress() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get message destination hostname
getFile() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get boot file name.
getFlags() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get flags field.
getGiaddr() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get relay agent IP address.
getHlen() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get hardware address length.
getHops() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get hops field.
getHtype() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get hardware address type.
getMTU() - Method in class edu.bucknell.net.JDHCP.DHCPSocket
Returns the set MTU for this socket
getOp() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get message Op code / message type.
getOption(byte) - Method in class edu.bucknell.net.JDHCP.DHCPOptions
Fetches value of option by its option code
getOption(int) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Returns specified DHCP option that matches the input code.
getOptions() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get all options.
getPort() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get message destination port
getSecs() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get seconds elapsed since client began address acquisition or renewal process.
getSiaddr() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get address of next server to use in bootstrap.
getSname() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get optional server host name.
getXid() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get transaction ID.
getYiaddr() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Get 'your' (client) IP address.

I

INFORM - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPINFORM Message
internalize(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Convert a specified byte array containing a DHCP message into a DHCPMessage object.
internalize(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPOptions
Converts an options byte array to a linked list
isEmpty() - Method in class edu.bucknell.net.JDHCP.DHCPOptions
Determines if list is empty
IsOptSet(int) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Report whether or not the input option is set

N

NAK - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPNAK Message

O

OFFER - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPOFFER Message

P

printList() - Method in class edu.bucknell.net.JDHCP.DHCPOptions
Prints the options linked list: For testing only.
printMessage() - Method in class edu.bucknell.net.JDHCP.DHCPMessage
 

R

receive(DHCPMessage) - Method in class edu.bucknell.net.JDHCP.DHCPSocket
Receives a datagram packet containing a DHCP Message into a DHCPMessage object.
RELEASE - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPRELEASE Message
removeOption(byte) - Method in class edu.bucknell.net.JDHCP.DHCPOptions
Removes option with specified bytecode
removeOption(int) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Removes the specified DHCP option that matches the input code.
REQUEST - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Code for DHCPREQUEST Message

S

send(DHCPMessage) - Method in class edu.bucknell.net.JDHCP.DHCPSocket
Sends a DHCPMessage object to a predifined host.
SERVER_PORT - Static variable in class edu.bucknell.net.JDHCP.DHCPMessage
Default DHCP server port
setChaddr(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set client harware address.
setCiaddr(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set client IP address.
setDestinationHost(String) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set message destination IP
setFile(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set boot file name.
setFlags(short) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set flags field.
setGiaddr(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set relay agent IP address.
setHlen(byte) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set hardware address length.
setHops(byte) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set hops field.
setHtype(byte) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set hardware address type.
setMTU(int) - Method in class edu.bucknell.net.JDHCP.DHCPSocket
Sets the Maximum Transfer Unit for the UDP DHCP Packets to be set.
setOp(byte) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set message Op code / message type.
setOption(byte, byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPOptions
Changes an existing option to new value
setOption(int, byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Sets DHCP options in DHCPMessage.
setPort(int) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set message destination port.
setSecs(short) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set seconds elapsed since client began address acquisition or renewal process.
setSiaddr(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set address of next server to use in bootstrap.
setSname(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set optional server host name.
setXid(int) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set transaction ID.
setYiaddr(byte[]) - Method in class edu.bucknell.net.JDHCP.DHCPMessage
Set 'your' (client) IP address.

A B C D E G I N O P R S