01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.jdo;
12:
13: import java.io.Serializable;
14:
15: /**
16: * Information on a remote PMF connection to the VOA server.
17: */
18: public class RemoteClientStatus implements Serializable {
19:
20: private int id;
21: private long timeCreated;
22: private long timeLastActive;
23: private long timeLastPMCreated;
24: private String remoteClient;
25: private Object userObject;
26:
27: public RemoteClientStatus() {
28: }
29:
30: public void setId(int id) {
31: this .id = id;
32: }
33:
34: public void setTimeCreated(long timeCreated) {
35: this .timeCreated = timeCreated;
36: }
37:
38: public void setTimeLastActive(long timeLastActive) {
39: this .timeLastActive = timeLastActive;
40: }
41:
42: public void setTimeLastPMCreated(long timeLastPMCreated) {
43: this .timeLastPMCreated = timeLastPMCreated;
44: }
45:
46: public void setRemoteClient(String remoteClient) {
47: this .remoteClient = remoteClient;
48: }
49:
50: public void setUserObject(Object userObject) {
51: this .userObject = userObject;
52: }
53:
54: public int getId() {
55: return id;
56: }
57:
58: public long getTimeCreated() {
59: return timeCreated;
60: }
61:
62: public long getTimeLastPMCreated() {
63: return timeLastPMCreated;
64: }
65:
66: public long getTimeLastActive() {
67: return timeLastActive;
68: }
69:
70: public String getRemoteClient() {
71: return remoteClient;
72: }
73:
74: public Object getUserObject() {
75: return userObject;
76: }
77:
78: }
|