cybergarage-upnp
org.cybergarage.upnp.ssdp.SSDPNotifySocket Class Reference
Inheritance diagram for org.cybergarage.upnp.ssdp.SSDPNotifySocket:
org.cybergarage.upnp.ssdp.HTTPMUSocket

Public Member Functions

 SSDPNotifySocket (String bindAddr)
 
void setControlPoint (ControlPoint ctrlp)
 
ControlPoint getControlPoint ()
 
boolean post (SSDPNotifyRequest req)
 
void run ()
 
void start ()
 
void stop ()
 
- Public Member Functions inherited from org.cybergarage.upnp.ssdp.HTTPMUSocket
 HTTPMUSocket ()
 
 HTTPMUSocket (String addr, int port, String bindAddr)
 
String getLocalAddress ()
 
int getMulticastPort ()
 
int getLocalPort ()
 
MulticastSocket getSocket ()
 
InetAddress getMulticastInetAddress ()
 
String getMulticastAddress ()
 
boolean open (String addr, int port, InetAddress bindAddr)
 
boolean open (String addr, int port, String bindAddr)
 
boolean close ()
 
boolean send (String msg, String bindAddr, int bindPort)
 
boolean send (String msg)
 
boolean post (HTTPRequest req, String bindAddr, int bindPort)
 
boolean post (HTTPRequest req)
 
SSDPPacket receive () throws IOException
 

Private Attributes

boolean useIPv6Address
 
ControlPoint controlPoint = null
 
Thread deviceNotifyThread = null
 

Additional Inherited Members

- Protected Member Functions inherited from org.cybergarage.upnp.ssdp.HTTPMUSocket
void finalize ()
 

Detailed Description

This class identifies a SSDP socket only for notifing packet.

Author
Satoshi "skonno" Konno
Stefano "Kismet" Lenzi
Version
1.8

Constructor & Destructor Documentation

◆ SSDPNotifySocket()

org.cybergarage.upnp.ssdp.SSDPNotifySocket.SSDPNotifySocket ( String bindAddr)
inline

Member Function Documentation

◆ getControlPoint()

ControlPoint org.cybergarage.upnp.ssdp.SSDPNotifySocket.getControlPoint ( )
inline

◆ post()

boolean org.cybergarage.upnp.ssdp.SSDPNotifySocket.post ( SSDPNotifyRequest req)
inline

This method send a SSDPNotifyRequest over SSDPNotifySocket

Parameters
reqthe SSDPNotifyRequest to send
Returns
true if and only if the trasmission succeced
Because it rely on UDP doesn't mean that it's also recieved

◆ run()

void org.cybergarage.upnp.ssdp.SSDPNotifySocket.run ( )
inline

◆ setControlPoint()

void org.cybergarage.upnp.ssdp.SSDPNotifySocket.setControlPoint ( ControlPoint ctrlp)
inline

◆ start()

void org.cybergarage.upnp.ssdp.SSDPNotifySocket.start ( )
inline

◆ stop()

void org.cybergarage.upnp.ssdp.SSDPNotifySocket.stop ( )
inline

Field Documentation

◆ controlPoint

ControlPoint org.cybergarage.upnp.ssdp.SSDPNotifySocket.controlPoint = null
private

◆ deviceNotifyThread

Thread org.cybergarage.upnp.ssdp.SSDPNotifySocket.deviceNotifyThread = null
private

◆ useIPv6Address

boolean org.cybergarage.upnp.ssdp.SSDPNotifySocket.useIPv6Address
private

The documentation for this class was generated from the following file: