com.netiq.websocket.Framedata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of websocket Show documentation
Show all versions of websocket Show documentation
A barebones WebSocket server and client implementation written in 100% Java, originally developed by Nathan Rajlich ([email protected]).
The newest version!
package com.netiq.websocket;
import java.util.HashMap;
import com.netiq.websocket.exceptions.InvalidFrameException;
public interface Framedata {
enum Opcode{
CONTINIOUS,
TEXT,
BINARY,
PING,
PONG,
CLOSING
//more to come
}
public boolean isFin();
public boolean getTransfereMasked();
public Opcode getOpcode();
public byte[] getPayloadData();
public abstract void append( Framedata nextframe ) throws InvalidFrameException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy