Class HTTPUSocket

java.lang.Object
org.cybergarage.upnp.ssdp.HTTPUSocket
Direct Known Subclasses:
SSDPSearchResponseSocket

public class HTTPUSocket extends Object
  • Constructor Details

    • HTTPUSocket

      public HTTPUSocket()
    • HTTPUSocket

      public HTTPUSocket(String bindAddr, int bindPort)
    • HTTPUSocket

      public HTTPUSocket(int bindPort)
  • Method Details

    • getDatagramSocket

      public DatagramSocket getDatagramSocket()
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • setLocalAddress

      public void setLocalAddress(String addr)
    • getUDPSocket

      public DatagramSocket getUDPSocket()
      Returns:
      DatagramSocket open for receieving packets
      Since:
      1.8
    • getLocalAddress

      public String getLocalAddress()
    • open

      public boolean open()
    • open

      public boolean open(String bindAddr, int bindPort)
    • open

      public boolean open(int bindPort)
    • close

      public boolean close()
    • post

      public boolean post(String addr, int port, String msg)
    • receive

      public SSDPPacket receive()
    • toString

      public String toString()
      I2P
      Overrides:
      toString in class Object