link start!
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package com.tridium.websockets.niagara;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
||||
public interface WebSocketMessage {
|
||||
|
||||
public interface Frame {
|
||||
byte[] getBytes();
|
||||
|
||||
byte getOpcode();
|
||||
|
||||
int getPayloadLength();
|
||||
|
||||
boolean getRSV1();
|
||||
|
||||
boolean getRSV2();
|
||||
|
||||
boolean getRSV3();
|
||||
|
||||
boolean isFin();
|
||||
|
||||
boolean isMask();
|
||||
}
|
||||
|
||||
void write(OutputStream outputStream) throws IOException;
|
||||
}
|
||||
Reference in New Issue
Block a user