01: /*
02: * Copyright (c) 1998, 1999 Sun Microsystems, Inc. All Rights Reserved.
03: *
04: * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
05: * modify and redistribute this software in source and binary code form,
06: * provided that i) this copyright notice and license appear on all copies of
07: * the software; and ii) Licensee does not utilize the software in a manner
08: * which is disparaging to Sun.
09: *
10: * This software is provided "AS IS," without a warranty of any kind. ALL
11: * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
12: * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
13: * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
14: * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
15: * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
16: * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
17: * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
18: * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
19: * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
20: * POSSIBILITY OF SUCH DAMAGES.
21: *
22: * This software is not designed or intended for use in on-line control of
23: * aircraft, air traffic, aircraft navigation or aircraft communications; or in
24: * the design, construction, operation or maintenance of any nuclear
25: * facility. Licensee represents and warrants that it will not use or
26: * redistribute the Software for such purposes.
27: */
28: package org.jboss.test.invokers.ejb;
29:
30: /**
31: * From some old jdk 1.3 rmi guide
32: */
33: interface CompressionConstants {
34:
35: /** Constants for 6-bit code values. */
36:
37: /** No operation: used to pad words on flush. */
38: static final int NOP = 0;
39:
40: /** Introduces raw byte format. */
41: static final int RAW = 1;
42:
43: /** Format indicator for characters found in lookup table. */
44: static final int BASE = 2;
45:
46: /** A character's code is it's index in the lookup table. */
47: static final String codeTable = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ,.!?\"'()";
48: }
|