Back to project page SimplePushDemoApp.
The source code is released under:
GNU General Public License
If you think the Android project SimplePushDemoApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.java_websocket.framing; //from w w w . j ava 2s. co m import java.nio.ByteBuffer; import org.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; }