Instruction.java :  » UnTagged » anmotion » org » nyu » mocap » anmotion » protocol » Android Open Source

Android Open Source » UnTagged » anmotion 
anmotion » org » nyu » mocap » anmotion » protocol » Instruction.java
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;
  }
  
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.