All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netiq.websocket.Framedata Maven / Gradle / Ivy

Go to download

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