All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- byteArrayToList(byte[]).
Method in class JDHCP.DHCPOptions
-
Converts an options byte array to a linked list
- ByteToObject(byte[]).
Method in class JDHCP.DHCPMessage
- Convert a specified byte array containing a DHCP message into a
DHCPMessage object.
- contains(byte).
Method in class JDHCP.DHCPOptions
-
- DHCPMessage().
Constructor for class 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 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[], int).
Constructor for class 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(byte[], String).
Constructor for class 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[], String, int).
Constructor for class 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(DataInputStream).
Constructor for class JDHCP.DHCPMessage
-
- DHCPMessage(DHCPMessage).
Constructor for class JDHCP.DHCPMessage
- Copy constructor
creates DHCPMessage from inMessage
- DHCPMessage(DHCPMessage, int).
Constructor for class JDHCP.DHCPMessage
-
- DHCPMessage(DHCPMessage, String).
Constructor for class JDHCP.DHCPMessage
-
- DHCPMessage(DHCPMessage, String, int).
Constructor for class JDHCP.DHCPMessage
-
- DHCPMessage(int).
Constructor for class JDHCP.DHCPMessage
- Creates empty DHCPMessage object,
initializes the object, sets the host to the broadcast address,
and binds to a specified port.
- DHCPMessage(String).
Constructor for class JDHCP.DHCPMessage
- Creates empty DHCPMessage object,
initializes the object, sets the host to a specified host name,
and binds to the default port.
- DHCPMessage(String, int).
Constructor for class JDHCP.DHCPMessage
- Creates empty DHCPMessage object,
initializes the object, sets the host to a specified host name,
and binds to a specified port.
- DHCPOptions().
Constructor for class JDHCP.DHCPOptions
-
- DHCPSocket(int).
Constructor for class JDHCP.DHCPSocket
-
Constructor for creating DHCPSocket on a specific port on the local
machine.
- end.
Variable in class JDHCP.DHCPOptions
-
- formReceive().
Method in class JDHCP.DHCPMessage
- Returns a datagram packet to receive a DHCPMessage into of size
PACKET_SIZE.
- formSend().
Method in class JDHCP.DHCPMessage
- Returns a datagram packet containing a DHCPMessage object.
- getChaddr().
Method in class JDHCP.DHCPMessage
- Get client harware address.
- getCiaddr().
Method in class JDHCP.DHCPMessage
- Get client IP address.
- getDestinationHost().
Method in class JDHCP.DHCPMessage
- Get message destination hostname
- getFile().
Method in class JDHCP.DHCPMessage
- Get boot file name.
- getFlags().
Method in class JDHCP.DHCPMessage
- Get flags field.
- getGiaddr().
Method in class JDHCP.DHCPMessage
- Get relay agent IP address.
- getHlen().
Method in class JDHCP.DHCPMessage
- Get hardware address length.
- getHops().
Method in class JDHCP.DHCPMessage
- Get hops field.
- getHtype().
Method in class JDHCP.DHCPMessage
- Get hardware address type.
- getOp().
Method in class JDHCP.DHCPMessage
- Get message Op code / message type.
- getOption(byte).
Method in class JDHCP.DHCPOptions
-
Fetches value of option by its option code
- getOption(int).
Method in class JDHCP.DHCPMessage
-
- getOptions().
Method in class JDHCP.DHCPMessage
- Get all options.
- getPort().
Method in class JDHCP.DHCPMessage
- Get message destination port
- getSecs().
Method in class JDHCP.DHCPMessage
- Get seconds elapsed since client began address acquisition or
renewal process.
- getSiaddr().
Method in class JDHCP.DHCPMessage
- Get address of next server to use in bootstrap.
- getSname().
Method in class JDHCP.DHCPMessage
- Get optional server host name.
- getSoTimeout().
Method in class JDHCP.DHCPSocket
-
Returns value of SO_TIMEOUT variable
- getXid().
Method in class JDHCP.DHCPMessage
- Get transaction ID.
- getYiaddr().
Method in class JDHCP.DHCPMessage
- Get 'your' (client) IP address.
- isEmpty().
Method in class JDHCP.DHCPOptions
-
Determines if list is empty
- IsOptSet(int).
Method in class JDHCP.DHCPMessage
-
- listToByteArray(byte[]).
Method in class JDHCP.DHCPOptions
-
Converts a linked options list to a byte array
- numElements.
Variable in class JDHCP.DHCPOptions
-
- ObjectToByte(DHCPMessage).
Method in class JDHCP.DHCPMessage
- Converts a specified DHCPMessage object to a byte array.
- printByteArray(byte[]).
Method in class JDHCP.DHCPOptions
-
Prints the byte array representation of the options list.
- printList().
Method in class JDHCP.DHCPOptions
-
Prints the options linked list: For testing only.
- printMessage().
Method in class JDHCP.DHCPMessage
-
- receive(DHCPMessage).
Method in class JDHCP.DHCPSocket
-
Receives a datagram packet containing a DHCP Message into
a DHCPMessage object.
- removeEntry(byte).
Method in class JDHCP.DHCPOptions
- Removes option with specified bytecode
- removeOption(int).
Method in class JDHCP.DHCPMessage
-
- send(DHCPMessage).
Method in class JDHCP.DHCPSocket
- Sends a DHCPMessage object to a predifined host.
- setChaddr(byte[]).
Method in class JDHCP.DHCPMessage
- Set client harware address.
- setCiaddr(byte[]).
Method in class JDHCP.DHCPMessage
- Set client IP address.
- setDestinationHost(String).
Method in class JDHCP.DHCPMessage
- Set message destination IP
- setFile(byte[]).
Method in class JDHCP.DHCPMessage
- Set boot file name.
- setFlags(short).
Method in class JDHCP.DHCPMessage
- Set flags field.
- setGiaddr(byte[]).
Method in class JDHCP.DHCPMessage
- Set relay agent IP address.
- setHlen(byte).
Method in class JDHCP.DHCPMessage
- Set hardware address length.
- setHops(byte).
Method in class JDHCP.DHCPMessage
- Set hops field.
- setHtype(byte).
Method in class JDHCP.DHCPMessage
- Set hardware address type.
- setOp(byte).
Method in class JDHCP.DHCPMessage
- Set message Op code / message type.
- setOption(byte, byte[]).
Method in class JDHCP.DHCPOptions
-
Changes an existing option to new value
- setOption(int, byte[]).
Method in class JDHCP.DHCPMessage
- Sets BootP options in DHCPMessage.
- setPort(int).
Method in class JDHCP.DHCPMessage
- Set message destination port.
- setSecs(short).
Method in class JDHCP.DHCPMessage
- Set seconds elapsed since client began address acquisition or
renewal process.
- setSiaddr(byte[]).
Method in class JDHCP.DHCPMessage
- Set address of next server to use in bootstrap.
- setSname(byte[]).
Method in class JDHCP.DHCPMessage
- Set optional server host name.
- setSoTimeout(int).
Method in class JDHCP.DHCPSocket
- Sets the socket timeout variable
- setXid(int).
Method in class JDHCP.DHCPMessage
- Set transaction ID.
- setYiaddr(byte[]).
Method in class JDHCP.DHCPMessage
- Set 'your' (client) IP address.
- start.
Variable in class JDHCP.DHCPOptions
-