01: package org.claros.chat.models;
02:
03: public class OnlineUser {
04: private String sessionId;
05: private String ip;
06: private String username;
07:
08: public OnlineUser(String sessionId, String ip, String username) {
09: this .sessionId = sessionId;
10: this .ip = ip;
11: this .username = username;
12: }
13:
14: public String getIp() {
15: return ip;
16: }
17:
18: public void setIp(String ip) {
19: this .ip = ip;
20: }
21:
22: public String getSessionId() {
23: return sessionId;
24: }
25:
26: public void setSessionId(String sessionId) {
27: this .sessionId = sessionId;
28: }
29:
30: public String getUsername() {
31: return username;
32: }
33:
34: public void setUsername(String username) {
35: this.username = username;
36: }
37:
38: }
|