public class BinaryMessageEvent extends CVSEvent
One protocol reponse mey be splitted into several messages.
source| Constructor and Description |
|---|
BinaryMessageEvent(Object source,
byte[] message,
int len)
Construct a MessageEvent
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireEvent(CVSListener listener)
Fire the event to the event listener.
|
byte[] |
getMessage()
Raw data buffer that holds binary data.
|
int |
getMessageLength()
Defines valid data length in raw data buffer.
|
getSource, toStringpublic BinaryMessageEvent(Object source, byte[] message, int len)
source - the source of the eventmessage - the message textpublic byte[] getMessage()
getMessageLength() subset
represents actual datapublic int getMessageLength()
protected void fireEvent(CVSListener listener)
Copyright © 2013. All rights reserved.