org.cybergarage.upnp.ssdp
Class SSDPNotifySocket

java.lang.Object
  extended by org.cybergarage.upnp.ssdp.HTTPMUSocket
      extended by org.cybergarage.upnp.ssdp.SSDPNotifySocket
All Implemented Interfaces:
Runnable

public class SSDPNotifySocket
extends HTTPMUSocket
implements Runnable

This class identifies a SSDP socket only for notifing packet.

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

Constructor Summary
SSDPNotifySocket(String bindAddr)
           
 
Method Summary
 ControlPoint getControlPoint()
           
 boolean post(SSDPNotifyRequest req)
          This method send a SSDPNotifyRequest over SSDPNotifySocket
 void run()
           
 void setControlPoint(ControlPoint ctrlp)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.cybergarage.upnp.ssdp.HTTPMUSocket
close, finalize, getLocalAddress, getLocalPort, getMulticastAddress, getMulticastInetAddress, getMulticastPort, getSocket, open, open, post, post, receive, send, send
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSDPNotifySocket

public SSDPNotifySocket(String bindAddr)
Method Detail

setControlPoint

public void setControlPoint(ControlPoint ctrlp)

getControlPoint

public ControlPoint getControlPoint()

post

public boolean post(SSDPNotifyRequest req)
This method send a SSDPNotifyRequest over SSDPNotifySocket

Parameters:
req - the 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

public void run()
Specified by:
run in interface Runnable

start

public void start()

stop

public void stop()


Copyright © 2010 DomoWare. All Rights Reserved.