KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > bluecubs > xinco > client > XincoClientSession


1 /**
2  *Copyright 2004 blueCubs.com
3  *
4  *Licensed under the Apache License, Version 2.0 (the "License");
5  *you may not use this file except in compliance with the License.
6  *You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *Unless required by applicable law or agreed to in writing, software
11  *distributed under the License is distributed on an "AS IS" BASIS,
12  *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *See the License for the specific language governing permissions and
14  *limitations under the License.
15  *
16  *************************************************************
17  * This project supports the blueCubs vision of giving back
18  * to the community in exchange for free software!
19  * More information on: http://www.bluecubs.org
20  *************************************************************
21  *
22  * Name: XincoClientSession
23  *
24  * Description: session on client side
25  *
26  * Original Author: Alexander Manes
27  * Date: 2004
28  *
29  * Modifications:
30  *
31  * Who? When? What?
32  * - - -
33  *
34  *************************************************************
35  */

36
37 package com.bluecubs.xinco.client;
38
39 import java.util.Vector JavaDoc;
40
41 import com.bluecubs.xinco.core.*;
42 import com.bluecubs.xinco.service.*;
43
44 public class XincoClientSession {
45
46     public String JavaDoc service_endpoint = "";
47     public XincoCoreUser user = null;
48     //web service
49
public XincoService xinco_service = null;
50     public Xinco xinco = null;
51     //repository
52
public XincoClientRepository xincoClientRepository = null;
53     public XincoVersion server_version = null;
54     public Vector JavaDoc server_groups = null;
55     public Vector JavaDoc server_languages = null;
56     public Vector JavaDoc server_datatypes = null;
57     public XincoMutableTreeNode currentTreeNodeSelection = null;
58     public Vector JavaDoc clipboardTreeNodeSelection = null;
59     public Vector JavaDoc currentSearchResult = null;
60     public int status = 0; //0 = not connected
61
//1 = connecting...
62
//2 = connected
63
//3 = disconnecting
64

65     public XincoClientSession() {
66         service_endpoint = "";
67         user = new XincoCoreUser();
68         //init repository
69
xincoClientRepository = new XincoClientRepository();
70         server_version = new XincoVersion();
71         server_groups = new Vector JavaDoc();
72         server_languages = new Vector JavaDoc();
73         server_datatypes = new Vector JavaDoc();
74         clipboardTreeNodeSelection = new Vector JavaDoc();
75         currentSearchResult = new Vector JavaDoc();
76         status = 0;
77     }
78
79 }
80
Popular Tags