package org.nyu.mocap.anmotion.protocol;
import java.io.Serializable;
public class Instruction implements Serializable{
private byte type; //instruction type
private byte[] data; //additional data
public Instruction(byte type,byte[] data){
this.type = type;
this.data = data;
}
public byte getType() {
return type;
}
public void setType(byte type) {
this.type = type;
}
public byte[] getData() {
return data;
}
public void setData(byte[] data) {
this.data = data;
}
}
|