net.multicast
Class DHCPClient.Packet
java.lang.Object
net.multicast.DHCPClient.Packet
- Enclosing class:
- DHCPClient
public class DHCPClient.Packet
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
op
public byte op
htype
public byte htype
hlen
public byte hlen
hops
public byte hops
xid
public int xid
secs
public short secs
flags
public short flags
ciaddr
public byte[] ciaddr
yiaddr
public byte[] yiaddr
siaddr
public byte[] siaddr
giaddr
public byte[] giaddr
chaddr
public byte[] chaddr
sname
public byte[] sname
file
public byte[] file
options
public byte[] options
DHCPClient.Packet
public DHCPClient.Packet()
getYaddress
public java.lang.String getYaddress()
getSaddress
public java.lang.String getSaddress()
encode
public byte[] encode()
throws java.io.IOException
- Throws:
java.io.IOException
decode
public void decode(byte[] data)
throws java.io.IOException
- Throws:
java.io.IOException