annotate src/fdl/PSXQueueInterface.java @ 0:083a0b5e12cc

Apply Debug Interface version start
author fuchita
date Thu, 07 Feb 2008 14:21:30 +0900
parents
children b49e593b2502
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
1
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
2 /*
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
3 * @(#)PSXQueueInterface.java 1.1 06/04/01
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
4 *
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
5 * Copyright 2006 Shinji KONO
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
6 *
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
7
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
8 PSX Lidna
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
9 Trasport layer of PSX Linda library
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
10
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
11 */
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
12
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
13 package fdl;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
14
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
15
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
16 /**
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
17 PSXQueueInterface
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
18
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
19 Iterator
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
20 */
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
21
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
22 public interface PSXQueueInterface {
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
23 static final int PSX_IN = 'i';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
24 static final int PSX_OUT = 'o';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
25 static final int PSX_UPDATE = 'u';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
26 static final int PSX_RD = 'r';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
27 static final int PSX_CHECK = 'c';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
28 static final int PSX_REPLY = '?';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
29 static final int PSX_WAIT_RD = 'w';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
30 static final int PSX_ANSWER = 'a';
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
31 static final int PSX_HTTP_ANSWER = 'P'; // Put
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
32 static final int PSX_HTTP_REQUEST = 'G'; // Get
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
33 static final int PSX_COM_DEBUG = 'D'; //Communication DEBUG
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
34
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
35 static final int LINDA_PACKET_LENGTH_OFFSET =0;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
36 static final int LINDA_MODE_OFFSET =0+4;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
37 static final int LINDA_ID_OFFSET =1+4;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
38 static final int LINDA_SEQ_OFFSET =3+4;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
39 static final int LINDA_DATA_LENGTH_OFFSET =7+4;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
40 static final int LINDA_HEADER_SIZE =12+4;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
41 static final int INT_SIZE =4;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
42 static final int SHORT_SIZE =2;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
43
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
44 static final int PRIVILEGED_ID = 32767;
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
45
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
46 }
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
47
083a0b5e12cc Apply Debug Interface version start
fuchita
parents:
diff changeset
48 /* end */