KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > RemoteClientStatus


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo;
13
14 import java.io.Serializable JavaDoc;
15
16 /**
17  * Information on a remote PMF connection to the VOA server.
18  */

19 public class RemoteClientStatus implements Serializable JavaDoc {
20
21     private int id;
22     private long timeCreated;
23     private long timeLastActive;
24     private long timeLastPMCreated;
25     private String JavaDoc remoteClient;
26     private Object JavaDoc userObject;
27
28     public RemoteClientStatus() {
29     }
30
31     public void setId(int id) {
32         this.id = id;
33     }
34
35     public void setTimeCreated(long timeCreated) {
36         this.timeCreated = timeCreated;
37     }
38
39     public void setTimeLastActive(long timeLastActive) {
40         this.timeLastActive = timeLastActive;
41     }
42
43     public void setTimeLastPMCreated(long timeLastPMCreated) {
44         this.timeLastPMCreated = timeLastPMCreated;
45     }
46
47     public void setRemoteClient(String JavaDoc remoteClient) {
48         this.remoteClient = remoteClient;
49     }
50
51     public void setUserObject(Object JavaDoc userObject) {
52         this.userObject = userObject;
53     }
54
55     public int getId() {
56         return id;
57     }
58
59     public long getTimeCreated() {
60         return timeCreated;
61     }
62
63     public long getTimeLastPMCreated() {
64         return timeLastPMCreated;
65     }
66
67     public long getTimeLastActive() {
68         return timeLastActive;
69     }
70
71     public String JavaDoc getRemoteClient() {
72         return remoteClient;
73     }
74
75     public Object JavaDoc getUserObject() {
76         return userObject;
77     }
78
79 }
80
Popular Tags