comparison src/wifibroadcast/WifiReceiver.java @ 3:9c99e2193277

find broadcast
author one
date Sat, 28 Jul 2012 18:15:13 +0900
parents 649b8573372c
children bb2538b7eb8d
comparison
equal deleted inserted replaced
2:2a328333ba70 3:9c99e2193277
3 import java.io.IOException; 3 import java.io.IOException;
4 import java.nio.ByteBuffer; 4 import java.nio.ByteBuffer;
5 5
6 public interface WifiReceiver { 6 public interface WifiReceiver {
7 7
8 public enum SocketType {Sender , Receiver } ;
9
8 void recieve(ByteBuffer testData, long timeout) throws IOException; 10 void recieve(ByteBuffer testData, long timeout) throws IOException;
9 11
10 void send(ByteBuffer testData) throws IOException; 12 void send(ByteBuffer testData) throws IOException;
11 13
12 14