Class MultiMain.Reciever

java.lang.Object
  |
  +--MultiMain.Reciever
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MultiMain

public class MultiMain.Reciever
extends java.lang.Object
implements java.lang.Runnable

Class Receiver


Constructor Summary
MultiMain.Reciever()
          Constructor of class Receiver
 
Method Summary
 java.util.Set getAlla()
          Returns a set of all incoming packets
 void run()
          Receives a packet and adds it to set alla
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiMain.Reciever

public MultiMain.Reciever()
Constructor of class Receiver
Method Detail

getAlla

public java.util.Set getAlla()
Returns a set of all incoming packets
Returns:
set alla

run

public void run()
Receives a packet and adds it to set alla
Specified by:
run in interface java.lang.Runnable
Throws:
java.io.IOException - e if receiving fails