Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jempeg.empeg.protocol
Class NetworkEmpegDiscoverer.BroadcastRunnable  view NetworkEmpegDiscoverer.BroadcastRunnable download NetworkEmpegDiscoverer.BroadcastRunnable.java

java.lang.Object
  extended byorg.jempeg.empeg.protocol.NetworkEmpegDiscoverer.BroadcastRunnable
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
NetworkEmpegDiscoverer

protected class NetworkEmpegDiscoverer.BroadcastRunnable
extends java.lang.Object
implements java.lang.Runnable


Field Summary
private  java.util.Vector myBroadcastAddressesVec
           
private  boolean myDiscovered
           
private  java.util.Vector myDiscoveredVec
           
private  java.net.DatagramSocket mySocket
           
private  int myTimeoutMillis
           
 
Constructor Summary
NetworkEmpegDiscoverer.BroadcastRunnable(java.net.DatagramSocket _socket, java.util.Vector _broadcastAddressesVec, int _timeoutMillis, java.util.Vector _discoveredVec)
           
 
Method Summary
 boolean isDiscovered()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mySocket

private java.net.DatagramSocket mySocket

myBroadcastAddressesVec

private java.util.Vector myBroadcastAddressesVec

myDiscoveredVec

private java.util.Vector myDiscoveredVec

myTimeoutMillis

private int myTimeoutMillis

myDiscovered

private boolean myDiscovered
Constructor Detail

NetworkEmpegDiscoverer.BroadcastRunnable

public NetworkEmpegDiscoverer.BroadcastRunnable(java.net.DatagramSocket _socket,
                                                java.util.Vector _broadcastAddressesVec,
                                                int _timeoutMillis,
                                                java.util.Vector _discoveredVec)
Method Detail

isDiscovered

public boolean isDiscovered()

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable