edu.nyu.cs.pdsg.discovery
Class ResponseListener

java.lang.Object
  extended byedu.nyu.cs.pdsg.discovery.ResponseListener
All Implemented Interfaces:
java.lang.Runnable

class ResponseListener
extends java.lang.Object
implements java.lang.Runnable

Background thread for receiving service advertisements


Field Summary
private  java.net.DatagramSocket socket
           
 
Constructor Summary
ResponseListener(java.net.DatagramSocket _socket)
           
 
Method Summary
private  void involveServiceLocation(java.util.HashSet response)
           
private  void notifySubscribers(Locator serviceLocation)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

socket

private java.net.DatagramSocket socket
Constructor Detail

ResponseListener

public ResponseListener(java.net.DatagramSocket _socket)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

involveServiceLocation

private void involveServiceLocation(java.util.HashSet response)
Parameters:
response -

notifySubscribers

private void notifySubscribers(Locator serviceLocation)
Parameters:
serviceLocation -


Copyright (c) 2002-2003 New York University RLAB