KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jalisto > se > impl > remote > socket > MethodEncoder


1 /*
2  * Jalisto - JAva LIght STOrage
3  * Copyright (C) 2000-2005 Xcalia http://www.xcalia.com
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18  *
19  * Xcalia
20  * 71, rue Desnouettes
21  * 75014 Paris - France
22  * http://www.xcalia.com
23  */

24 package org.objectweb.jalisto.se.impl.remote.socket;
25
26 public class MethodEncoder {
27
28     public static final int closeSession = 1;
29     public static final int readObjectsByOids = 2;
30     public static final int createObjectOid = 3;
31     public static final int defineClass = 4;
32     public static final int deleteObjectByOid = 5;
33     public static final int getExtent = 6;
34     public static final int makeNewFileOid = 7;
35     public static final int openSession = 8;
36     public static final int removeClass = 9;
37     public static final int updateObjectByOid = 10;
38     public static final int refreshObjectByOid = 11;
39
40     public static final int begin = 20;
41     public static final int commit = 21;
42     public static final int readObjectByOid = 22;
43     public static final int rollback = 23;
44     public static final int getProperties = 24;
45     public static final int getSessionId = 25;
46     public static final int reorganize = 26;
47     public static final int eraseStorage = 27;
48
49     public static final int getClassMetas = 30;
50     public static final int getClassTable = 31;
51     public static final int getClidFromClassName = 32;
52     public static final int createObjects = 33;
53     public static final int updateObjects = 34;
54     public static final int deleteObjects = 35;
55     public static final int getFloidsFromClid = 36;
56     public static final int reserveFloids = 37;
57     public static final int makeOids = 38;
58
59 }
60
Popular Tags