public abstract class

WSAbstractFrame

extends Object
implements WSConstants
java.lang.Object
   ↳ com.ericsson.research.transport.ws.spi.WSAbstractFrame
Known Direct Subclasses

Summary

Constants
byte BINARY_FRAME
byte CLOSE_FRAME
byte CONTINUATION_FRAME
byte PING_FRAME
byte PONG_FRAME
byte TEXT_FRAME
[Expand]
Inherited Constants
From interface com.ericsson.research.transport.ws.spi.WSConstants
Fields
protected byte l1
protected int len
protected byte[] payload
protected int pos
protected byte type
[Expand]
Inherited Fields
From interface com.ericsson.research.transport.ws.spi.WSConstants
Public Methods
abstract int deserialize(byte[] data, int length)
byte[] getPayload()
byte getType()
void serialize(OutputStream os)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final byte BINARY_FRAME

Constant Value: 2 (0x00000002)

public static final byte CLOSE_FRAME

Constant Value: 8 (0x00000008)

public static final byte CONTINUATION_FRAME

Constant Value: 0 (0x00000000)

public static final byte PING_FRAME

Constant Value: 9 (0x00000009)

public static final byte PONG_FRAME

Constant Value: 10 (0x0000000a)

public static final byte TEXT_FRAME

Constant Value: 1 (0x00000001)

Fields

protected byte l1

protected int len

protected byte[] payload

protected int pos

protected byte type

Public Methods

public abstract int deserialize (byte[] data, int length)

Throws
WSException

public byte[] getPayload ()

public byte getType ()

public void serialize (OutputStream os)

Throws
IOException