Mercurial > hg > FederatedLinda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:083a0b5e12cc |
---|---|
1 | |
2 /* | |
3 * @(#)PSXQueueInterface.java 1.1 06/04/01 | |
4 * | |
5 * Copyright 2006 Shinji KONO | |
6 * | |
7 | |
8 PSX Lidna | |
9 Trasport layer of PSX Linda library | |
10 | |
11 */ | |
12 | |
13 package fdl; | |
14 | |
15 | |
16 /** | |
17 PSXQueueInterface | |
18 | |
19 Iterator | |
20 */ | |
21 | |
22 public interface PSXQueueInterface { | |
23 static final int PSX_IN = 'i'; | |
24 static final int PSX_OUT = 'o'; | |
25 static final int PSX_UPDATE = 'u'; | |
26 static final int PSX_RD = 'r'; | |
27 static final int PSX_CHECK = 'c'; | |
28 static final int PSX_REPLY = '?'; | |
29 static final int PSX_WAIT_RD = 'w'; | |
30 static final int PSX_ANSWER = 'a'; | |
31 static final int PSX_HTTP_ANSWER = 'P'; // Put | |
32 static final int PSX_HTTP_REQUEST = 'G'; // Get | |
33 static final int PSX_COM_DEBUG = 'D'; //Communication DEBUG | |
34 | |
35 static final int LINDA_PACKET_LENGTH_OFFSET =0; | |
36 static final int LINDA_MODE_OFFSET =0+4; | |
37 static final int LINDA_ID_OFFSET =1+4; | |
38 static final int LINDA_SEQ_OFFSET =3+4; | |
39 static final int LINDA_DATA_LENGTH_OFFSET =7+4; | |
40 static final int LINDA_HEADER_SIZE =12+4; | |
41 static final int INT_SIZE =4; | |
42 static final int SHORT_SIZE =2; | |
43 | |
44 static final int PRIVILEGED_ID = 32767; | |
45 | |
46 } | |
47 | |
48 /* end */ |