protocol.core
Class Frame
java.lang.Object
protocol.core.Frame
- Direct Known Subclasses:
- ApplicationFrame, HandshakeFrame, SignalFrame
public class Frame
- extends java.lang.Object
Classe do frame do protocolo
- Author:
- Leonardo Fernandes
|
Field Summary |
static byte |
APPLICATION
Código de identificação do APPLICATION frame |
static byte |
HANDSHAKE
Código de identificação do HANDSHAKE frame |
static byte |
SIGNAL
Código de identificação do SIGNAL frame |
|
Constructor Summary |
Frame(byte id,
int length)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HANDSHAKE
public static final byte HANDSHAKE
- Código de identificação do HANDSHAKE frame
- See Also:
- Constant Field Values
SIGNAL
public static final byte SIGNAL
- Código de identificação do SIGNAL frame
- See Also:
- Constant Field Values
APPLICATION
public static final byte APPLICATION
- Código de identificação do APPLICATION frame
- See Also:
- Constant Field Values
Frame
public Frame(byte id,
int length)
getId
public byte getId()
setId
public void setId(byte id)
getLength
public int getLength()
setLength
public void setLength(int length)