blob: a9d66f12ae7efc68b9590fa9bd608f6de18bb230 [file] [log] [blame]
Richard S. Hall70b28fb2006-10-18 22:05:15 +00001/*
2 * $Header: /cvshome/build/ee.foundation/src/java/io/ObjectStreamConstants.java,v 1.6 2006/03/14 01:20:23 hargrave Exp $
3 *
4 * (C) Copyright 2001 Sun Microsystems, Inc.
5 * Copyright (c) OSGi Alliance (2001, 2005). All Rights Reserved.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20package java.io;
21public abstract interface ObjectStreamConstants {
22 public final static short STREAM_MAGIC = -21267;
23 public final static short STREAM_VERSION = 5;
24 public final static byte TC_BASE = 112;
25 public final static byte TC_NULL = 112;
26 public final static byte TC_REFERENCE = 113;
27 public final static byte TC_CLASSDESC = 114;
28 public final static byte TC_OBJECT = 115;
29 public final static byte TC_STRING = 116;
30 public final static byte TC_ARRAY = 117;
31 public final static byte TC_CLASS = 118;
32 public final static byte TC_BLOCKDATA = 119;
33 public final static byte TC_ENDBLOCKDATA = 120;
34 public final static byte TC_RESET = 121;
35 public final static byte TC_BLOCKDATALONG = 122;
36 public final static byte TC_EXCEPTION = 123;
37 public final static byte TC_LONGSTRING = 124;
38 public final static byte TC_PROXYCLASSDESC = 125;
39 public final static byte TC_MAX = 125;
40 public final static int baseWireHandle = 8257536;
41 public final static int PROTOCOL_VERSION_1 = 1;
42 public final static int PROTOCOL_VERSION_2 = 2;
43 public final static java.io.SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION = null;
44 public final static java.io.SerializablePermission SUBSTITUTION_PERMISSION = null;
45 public final static byte SC_WRITE_METHOD = 1;
46 public final static byte SC_SERIALIZABLE = 2;
47 public final static byte SC_EXTERNALIZABLE = 4;
48 public final static byte SC_BLOCK_DATA = 8;
49}
50