| Modifier and Type | Method and Description |
|---|---|
static ProtocolMessage |
create(Integer seq,
String type) |
boolean |
equals(Object obj) |
int |
getSeq()
Sequence number (also known as message ID).
|
String |
getType()
Message type.
|
int |
hashCode() |
ProtocolMessage |
setSeq(int seq) |
ProtocolMessage |
setType(String type) |
public int getSeq()
public ProtocolMessage setSeq(int seq)
public String getType()
public ProtocolMessage setType(String type)
public static ProtocolMessage create(Integer seq, String type)