ejip
Class Net

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ejip.Net

public class Net
extends java.lang.Thread

Start device driver threads and poll for packets.


Fields inherited from class java.lang.Thread
CREATED, DEAD, MAX_PRIORITY, MIN_PRIORITY, MS, next, NORM_PRIORITY, RUNNING, state, WAITING
 
Method Summary
static void init()
          Allocate buffer and start driver thread(s).
 void run()
          Look for received packets and call TcpIp.
 
Methods inherited from class java.lang.Thread
activeCount, currentThread, getPriority, isAlive, join, setPriority, sleep, start, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

init

public static void init()
Allocate buffer and start driver thread(s).

run

public void run()
Look for received packets and call TcpIp. Mark them to be sent if returned with len!=0 from TcpIp layer.
Overrides:
run in class java.lang.Thread