Mercurial > hg > Members > kono > WifiBroadcast
comparison src/main/jp/ac/uryukyu/ie/kono/wifibroadcast/WifiReceiver.java @ 26:42ecbd9364fa
gradle
author | oshiroo |
---|---|
date | Wed, 28 Nov 2018 17:34:23 +0900 |
parents | src/wifibroadcast/WifiReceiver.java@bb2538b7eb8d |
children |
comparison
equal
deleted
inserted
replaced
25:a17e8b4ffe75 | 26:42ecbd9364fa |
---|---|
1 package wifibroadcast; | |
2 | |
3 import java.io.IOException; | |
4 import java.nio.ByteBuffer; | |
5 | |
6 public interface WifiReceiver { | |
7 | |
8 public enum SocketType {Sender , Receiver } ; | |
9 | |
10 void recieve(ByteBuffer testData, long timeout) throws IOException; | |
11 | |
12 void send(ByteBuffer testData) throws IOException; | |
13 | |
14 void selectMode(boolean mode); | |
15 | |
16 | |
17 } |