trz.gaia.view
Class TestView

java.lang.Object
  |
  +--trz.gaia.view.TestView

public class TestView
extends java.lang.Object
implements TickListener, PacketListener, CellulaChangedListener


Constructor Summary
TestView()
           
 
Method Summary
 void addCellule(int numero, java.lang.String gruppo)
           
 void cellulaChanged(CellulaChangedEvent e)
           
 void cellulaCrashed(CellulaChangedEvent e)
           
 void cellulaEntered(CellulaChangedEvent e)
           
 void cellulaExited(CellulaChangedEvent e)
           
 void esegui()
           
static void main(java.lang.String[] args)
           
 void packetDiscarded(PacketEvent e)
          Viene chiamato quando un pacchetto viene scartato (ttl scaduto, crc errato, ecc.)
 void packetReceived(PacketEvent e)
          La ricezione di un pacchetto
 void packetSent(PacketEvent e)
          La spedizione di un pacchetto
 void tickEvent(TickEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestView

public TestView()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

esegui

public void esegui()
            throws java.lang.Exception

addCellule

public void addCellule(int numero,
                       java.lang.String gruppo)

packetSent

public void packetSent(PacketEvent e)
Description copied from interface: PacketListener
La spedizione di un pacchetto
Specified by:
packetSent in interface PacketListener

packetReceived

public void packetReceived(PacketEvent e)
Description copied from interface: PacketListener
La ricezione di un pacchetto
Specified by:
packetReceived in interface PacketListener

packetDiscarded

public void packetDiscarded(PacketEvent e)
Description copied from interface: PacketListener
Viene chiamato quando un pacchetto viene scartato (ttl scaduto, crc errato, ecc.)
Specified by:
packetDiscarded in interface PacketListener

cellulaChanged

public void cellulaChanged(CellulaChangedEvent e)
Specified by:
cellulaChanged in interface CellulaChangedListener

cellulaEntered

public void cellulaEntered(CellulaChangedEvent e)
Specified by:
cellulaEntered in interface CellulaChangedListener

cellulaExited

public void cellulaExited(CellulaChangedEvent e)
Specified by:
cellulaExited in interface CellulaChangedListener

cellulaCrashed

public void cellulaCrashed(CellulaChangedEvent e)
Specified by:
cellulaCrashed in interface CellulaChangedListener

tickEvent

public void tickEvent(TickEvent e)
Specified by:
tickEvent in interface TickListener