public class SSDPPacket extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
packetBytes |
Constructor and Description |
---|
SSDPPacket(byte[] buf,
int length) |
Modifier and Type | Method and Description |
---|---|
String |
getCacheControl() |
byte[] |
getData() |
DatagramPacket |
getDatagramPacket() |
String |
getHost() |
InetAddress |
getHostInetAddress() |
int |
getLeaseTime() |
String |
getLocalAddress() |
String |
getLocation() |
String |
getMAN() |
int |
getMX() |
String |
getNT() |
String |
getNTS() |
String |
getRemoteAddress() |
InetAddress |
getRemoteInetAddress() |
int |
getRemotePort() |
String |
getServer() |
String |
getST() |
long |
getTimeStamp() |
String |
getUSN() |
boolean |
isAlive() |
boolean |
isByeBye() |
boolean |
isDiscover() |
boolean |
isRootDevice() |
void |
setLocalAddress(String addr) |
void |
setTimeStamp(long value) |
String |
toString() |
public DatagramPacket getDatagramPacket()
public void setLocalAddress(String addr)
public String getLocalAddress()
public void setTimeStamp(long value)
public long getTimeStamp()
public InetAddress getRemoteInetAddress()
public String getRemoteAddress()
public int getRemotePort()
public byte[] getData()
public String getHost()
public String getCacheControl()
public String getLocation()
public String getMAN()
public String getST()
public String getNT()
public String getNTS()
public String getServer()
public String getUSN()
public int getMX()
public InetAddress getHostInetAddress()
public boolean isRootDevice()
public boolean isDiscover()
public boolean isAlive()
public boolean isByeBye()
public int getLeaseTime()