public class BinaryMessageEvent extends CVSEvent
One protocol reponse mey be splitted into several messages.
| Constructor and Description |
|---|
BinaryMessageEvent(java.lang.Object source,
byte[] message,
int len)
Construct a MessageEvent
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getMessage()
Raw data buffer that holds binary data.
|
int |
getMessageLength()
Defines valid data length in raw data buffer.
|
public BinaryMessageEvent(java.lang.Object source,
byte[] message,
int len)
source - the source of the eventmessage - the message textpublic byte[] getMessage()
getMessageLength() subset represents actual datapublic int getMessageLength()