001 package toolbus; 002 003 /** 004 * This interface holds all the operation codes that are used to identify the request / response 005 * types. 006 * 007 * @author Arnold Lankamp 008 */ 009 public interface IOperations{ 010 // From Tool to ToolBus. 011 public final static byte CONNECT = 1; 012 public final static byte DISCONNECT = 2; 013 public final static byte EVENT = 3; 014 public final static byte VALUE = 4; 015 public final static byte ACKDO = 5; 016 public final static byte RESPONSE = 6; 017 018 // From ToolBus to Tool. 019 public final static byte ACKEVENT = 11; 020 public final static byte EVAL = 12; 021 public final static byte DO = 13; 022 public final static byte TERMINATE = 14; 023 public final static byte REQUEST = 15; 024 025 // Stats 026 public final static byte PERFORMANCESTATS = 21; 027 public final static byte DEBUGPERFORMANCESTATS = 22; 028 029 // Generic. 030 public final static byte UNDEFINED = -1; 031 public final static byte END = 127; 032 }