Package org.yamcs.replication
Class Message
java.lang.Object
org.yamcs.replication.Message
Defines all the message types that are exchanged between master and slave.
Message format:
1 byte type 3 bytes message size (size of data to follow) = n+4 n bytes data 4 bytes CRC.
This is the same structure used in the replication file to be able to play it directly over the network.
The replication file contains only STREAM_INFO and DATA messages (and we call them transactions)
-
Field Summary
-
Method Summary
-
Field Details
-
WAKEUP
public static final byte WAKEUP- See Also:
-
REQUEST
public static final byte REQUEST- See Also:
-
RESPONSE
public static final byte RESPONSE- See Also:
-
STREAM_INFO
public static final byte STREAM_INFO- See Also:
-
DATA
public static final byte DATA- See Also:
-
TIME
public static final byte TIME- See Also:
-
-
Method Details
-
get
-
get
-
get
-
get
-
encode
-