01: // ICP.java
02: // $Id: ICP.java,v 1.3 2000/08/16 21:38:04 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // please first read the full copyright statement in file COPYRIGHT.HTML
05:
06: package org.w3c.www.protocol.http.icp;
07:
08: /**
09: * Internet Cache Protocol well known constants.
10: * ICP is a light-weight proxy to proxy protocol (FIXME, url)
11: */
12:
13: public interface ICP {
14: /**
15: * ICP constants - The major version of ICP we speak.
16: */
17: public static final int ICP_VERSION = 3;
18: /**
19: * ICP constants - Invalid payload (must not be sent).
20: */
21: public final static int ICP_OP_INVALID = 0;
22: public final static int ICP_OP_QUERY = 1;
23: public final static int ICP_OP_HIT = 2;
24: public final static int ICP_OP_MISS = 3;
25: public final static int ICP_OP_ERR = 4;
26: public final static int ICP_OP_SEND = 5;
27: public final static int ICP_OP_SENDA = 6;
28: public final static int ICP_OP_DATABEG = 7;
29: public final static int ICP_OP_DATA = 8;
30: public final static int ICP_OP_DATAEND = 9;
31: public final static int ICP_OP_SECHO = 10;
32: public final static int ICP_OP_DECHO = 11;
33: public final static int ICP_OP_RELOADING = 21;
34: public final static int ICP_OP_DENIED = 22;
35: public final static int ICP_OP_HIT_OBJ = 23;
36:
37: public final static int ICP_FLAG_HIT_OBJ = 0x80000000;
38:
39: }
|