blob: c11f7e0fca4cf54c77d575f5bcd1e0dc5eebe857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package org.reprap.comms.messages;
import org.reprap.comms.OutgoingMessage;
/**
*
*/
public class OutgoingBlankMessage extends OutgoingMessage {
/**
*
*/
private byte messageType;
/**
* @param messageType
*/
public OutgoingBlankMessage(byte messageType) {
this.messageType = messageType;
}
/* (non-Javadoc)
* @see org.reprap.comms.OutgoingMessage#getBinary()
*/
public byte[] getBinary() {
return new byte [] { messageType };
}
}
|