Mercurial > hg > Members > kono > WifiBroadcast
view src/wifibroadcast/WifiReceiver.java @ 19:bb2538b7eb8d
selectMode flag
author | one |
---|---|
date | Tue, 31 Jul 2012 17:02:46 +0900 |
parents | 9c99e2193277 |
children |
line wrap: on
line source
package wifibroadcast; import java.io.IOException; import java.nio.ByteBuffer; public interface WifiReceiver { public enum SocketType {Sender , Receiver } ; void recieve(ByteBuffer testData, long timeout) throws IOException; void send(ByteBuffer testData) throws IOException; void selectMode(boolean mode); }