2026-03-17 13:31:18 -07:00

39 lines
1.8 KiB
Java

package com.honeywell.DisplayDriver.constants;
public interface ServerConst {
public static final int BUILDER_FAULT = 4;
public static final byte DOWNLOAD_COMMAND = (byte) 33;
public static final int FILE_FAULT = 9;
public static final int FILE_NOT_ASSIGNED = 2;
public static final int FILE_NOT_FOUND = 1;
public static final int FILE_SERVER_ABORT = 99;
public static final int FILE_SERVER_ENDING = 94;
public static final int FILE_SERVER_END_SENT = 95;
public static final int FILE_SERVER_RUNNING = 90;
public static final int FILE_SERVER_SEND_BLOCK = 93;
public static final int FILE_SERVER_STARTING = 92;
public static final int FILE_SERVER_WAITING = 91;
public static final int MALFORMED_REQUEST = 5;
public static final int MODULE_TYPE_MISMATCH = 10;
public static final int NO_ERROR = 0;
public static final int RETRY_LIMIT_EXCEEDED = 6;
public static final int RETRY_LIMIT_OUT_OF_RANGE = 3;
public static final int SERVER_ABORT = 99;
public static final int SERVER_BLOCK = 3;
public static final int SERVER_CONCURRENT = 1;
public static final int SERVER_END = 7;
public static final int SERVER_END_SENT = 8;
public static final int SERVER_EXEC_BLOCK = 5;
public static final int SERVER_EXEC_SENT = 6;
public static final int SERVER_IDLE = 0;
public static final int SERVER_START = 2;
public static final int SERVER_TIMEOUT = 8;
public static final int SERVER_WAIT_NEXT = 4;
public static final byte SUB_BLOCK_REQUEST = (byte) 2;
public static final byte SUB_DATA_BLOCK = (byte) 2;
public static final byte SUB_END_DOWNLOAD = (byte) 3;
public static final byte SUB_EXEC_ADDRESS = (byte) 4;
public static final byte SUB_START_DOWNLOAD = (byte) 1;
public static final int TRANSFER_ABORTED = 7;
}