de.ukn.hci.squidy.manager.protocol.multicast
Class MulticastServer

java.lang.Object
  extended by java.lang.Thread
      extended by de.ukn.hci.squidy.manager.protocol.multicast.MulticastServer
All Implemented Interfaces:
Runnable

public class MulticastServer
extends Thread

MuliticastServer.

 Date: Oct 17, 2008
 Time: 7:56:58 PM
 

Since:
1.1.0
Version:
$Id: MulticastServer.java 30 2009-09-18 22:23:35Z nitsche $
Author:
Roman Rädle, Roman.Raedle@uni-konstanz.de, University of Konstanz

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  List<MulticastListener> listeners
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MulticastServer(InetAddress group, int port)
           
 
Method Summary
 void addMulticastListener(MulticastListener listener)
           
 void close()
           
 void removeMulticastListener(MulticastListener listener)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

listeners

protected List<MulticastListener> listeners
Constructor Detail

MulticastServer

public MulticastServer(InetAddress group,
                       int port)
Method Detail

addMulticastListener

public void addMulticastListener(MulticastListener listener)

removeMulticastListener

public void removeMulticastListener(MulticastListener listener)

close

public void close()

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright © 2007-2010 Human-Computer-Interaction :: University of Konstanz. All Rights Reserved.