15 lines
240 B
Java
15 lines
240 B
Java
package love.distributedrebirth.no2all.wire;
|
|
|
|
import java.nio.ByteBuffer;
|
|
|
|
public interface WireClient {
|
|
|
|
void connect();
|
|
|
|
void close(int code, String message);
|
|
|
|
void sendMessage(String message);
|
|
|
|
void sendBinary(ByteBuffer message);
|
|
}
|