com.pusher.java_websocket.framing.Framedata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-websocket Show documentation
Show all versions of java-websocket Show documentation
The Pusher fork of TooTallNate/Java-Websocket
The newest version!
package com.pusher.java_websocket.framing;
import java.nio.ByteBuffer;
import com.pusher.java_websocket.exceptions.InvalidFrameException;
public interface Framedata {
public enum Opcode {
CONTINUOUS, TEXT, BINARY, PING, PONG, CLOSING
// more to come
}
public boolean isFin();
public boolean getTransfereMasked();
public Opcode getOpcode();
public ByteBuffer getPayloadData();// TODO the separation of the application data and the extension data is yet to be done
public abstract void append( Framedata nextframe ) throws InvalidFrameException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy