| 1 24 33 34 package org.datashare.objects; 35 36 import java.io.Serializable ; 37 import java.net.InetAddress ; 38 39 44 public class ServerInfo implements Serializable  45 { 46 50 static final long serialVersionUID = 9030593713711490535L; 51 52 public String serverStatus; public boolean clientRegistered; public boolean clientIsAdmin; public boolean usingBeans; public String clientKey; public String serverStartTime; public boolean verbose; public InetAddress commandStatusConnection; 61 64 public ServerInfo() 65 {} 66 67 public ServerInfo(boolean clientRegistered, 68 boolean clientIsAdmin, 69 String clientKey, 70 boolean usingBeans, 71 String serverStatus, 72 String serverStartTime, 73 InetAddress commandStatusConnection, 74 boolean verbose) 75 { 76 this.serverStatus = serverStatus; 77 this.clientRegistered = clientRegistered; 78 this.clientIsAdmin = clientIsAdmin; 79 this.clientKey = clientKey; 80 this.usingBeans = usingBeans; 81 this.serverStartTime = serverStartTime; 82 this.commandStatusConnection = commandStatusConnection; 83 this.verbose = verbose; 84 } 85 } 86 | Popular Tags |