changed folder name

This commit is contained in:
Ziver Koc 2011-02-15 19:40:02 +00:00
parent 4503531ec9
commit 80c6a52c69
73 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,22 @@
package zutil.net.nio.worker;
import java.io.IOException;
import zutil.io.MultiPrintStream;
public class EchoWorker extends ThreadedEventWorker {
@Override
public void messageEvent(WorkerDataEvent dataEvent) {
try {
// Return to sender
MultiPrintStream.out.println("Recived Msg: "+dataEvent.data);
dataEvent.network.send(dataEvent.socket, dataEvent.data);
} catch (IOException e) {
e.printStackTrace();
}
}
}