cybergarage-upnp
org.cybergarage.upnp.ssdp.HTTPUSocket Class Reference
Inheritance diagram for org.cybergarage.upnp.ssdp.HTTPUSocket:
org.cybergarage.upnp.ssdp.SSDPSearchResponseSocket

Public Member Functions

DatagramSocket getDatagramSocket ()
 
 HTTPUSocket ()
 
 HTTPUSocket (String bindAddr, int bindPort) throws BindException
 
 HTTPUSocket (int bindPort)
 
void setLocalAddress (String addr)
 
DatagramSocket getUDPSocket ()
 
String getLocalAddress ()
 
boolean open ()
 
boolean open (String bindAddr, int bindPort) throws BindException
 
boolean open (int bindPort)
 
boolean close ()
 
boolean post (String addr, int port, String msg)
 
SSDPPacket receive ()
 

Protected Member Functions

void finalize ()
 

Private Attributes

DatagramSocket ssdpUniSock = null
 
String localAddr = ""
 

Constructor & Destructor Documentation

◆ HTTPUSocket() [1/3]

org.cybergarage.upnp.ssdp.HTTPUSocket.HTTPUSocket ( )
inline

◆ HTTPUSocket() [2/3]

org.cybergarage.upnp.ssdp.HTTPUSocket.HTTPUSocket ( String bindAddr,
int bindPort ) throws BindException
inline

◆ HTTPUSocket() [3/3]

org.cybergarage.upnp.ssdp.HTTPUSocket.HTTPUSocket ( int bindPort)
inline

Member Function Documentation

◆ close()

boolean org.cybergarage.upnp.ssdp.HTTPUSocket.close ( )
inline

◆ finalize()

void org.cybergarage.upnp.ssdp.HTTPUSocket.finalize ( )
inlineprotected

◆ getDatagramSocket()

DatagramSocket org.cybergarage.upnp.ssdp.HTTPUSocket.getDatagramSocket ( )
inline

◆ getLocalAddress()

String org.cybergarage.upnp.ssdp.HTTPUSocket.getLocalAddress ( )
inline

◆ getUDPSocket()

DatagramSocket org.cybergarage.upnp.ssdp.HTTPUSocket.getUDPSocket ( )
inline
Returns
DatagramSocket open for receieving packets
Since
1.8

◆ open() [1/3]

boolean org.cybergarage.upnp.ssdp.HTTPUSocket.open ( )
inline

◆ open() [2/3]

boolean org.cybergarage.upnp.ssdp.HTTPUSocket.open ( int bindPort)
inline

◆ open() [3/3]

boolean org.cybergarage.upnp.ssdp.HTTPUSocket.open ( String bindAddr,
int bindPort ) throws BindException
inline

◆ post()

boolean org.cybergarage.upnp.ssdp.HTTPUSocket.post ( String addr,
int port,
String msg )
inline

◆ receive()

SSDPPacket org.cybergarage.upnp.ssdp.HTTPUSocket.receive ( )
inline

◆ setLocalAddress()

void org.cybergarage.upnp.ssdp.HTTPUSocket.setLocalAddress ( String addr)
inline

Field Documentation

◆ localAddr

String org.cybergarage.upnp.ssdp.HTTPUSocket.localAddr = ""
private

◆ ssdpUniSock

DatagramSocket org.cybergarage.upnp.ssdp.HTTPUSocket.ssdpUniSock = null
private

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