wmx
Class SocketComponentListener

java.lang.Object
  extended by java.lang.Thread
      extended by wmx.SocketComponentListener
All Implemented Interfaces:
java.lang.Runnable

public class SocketComponentListener
extends java.lang.Thread

ComponentWirelessPort's component responsible for listening to a socket.

Author:
Fabien Romeo - fabien.romeo@univ-pau.fr

Field Summary
private  int _localport
           
private  Queue _sockets
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SocketComponentListener(int localport, Queue sockets)
          Creates a new instance of SocketComponentListener
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_localport

private int _localport

_sockets

private Queue _sockets
Constructor Detail

SocketComponentListener

public SocketComponentListener(int localport,
                               Queue sockets)
Creates a new instance of SocketComponentListener

Method Detail

run

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