Package org.cybergarage.upnp.ssdp
Class SSDPNotifySocket
java.lang.Object
org.cybergarage.upnp.ssdp.HTTPMUSocket
org.cybergarage.upnp.ssdp.SSDPNotifySocket
- All Implemented Interfaces:
Runnable
This class identifies a SSDP socket only for notifing packet.
- Version:
- 1.8
- Author:
- Satoshi "skonno" Konno, Stefano "Kismet" Lenzi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanpost(SSDPNotifyRequest req) This method send aSSDPNotifyRequestoverSSDPNotifySocketvoidrun()voidsetControlPoint(ControlPoint ctrlp) voidstart()voidstop()Methods inherited from class org.cybergarage.upnp.ssdp.HTTPMUSocket
close, finalize, getLocalAddress, getLocalPort, getMulticastAddress, getMulticastInetAddress, getMulticastPort, getSocket, open, open, post, post, receive, send, send, toString
-
Constructor Details
-
SSDPNotifySocket
- Throws:
IOException
-
-
Method Details
-
setControlPoint
-
getControlPoint
-
post
This method send aSSDPNotifyRequestoverSSDPNotifySocket- Parameters:
req- theSSDPNotifyRequestto send- Returns:
- true if and only if the trasmission succeced
Because it rely on UDP doesn't mean that it's also recieved
-
run
public void run() -
start
public void start() -
stop
public void stop()
-