/** * Tencent is pleased to support the open source community by making MSEC available. * * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the GNU General Public License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may * obtain a copy of the License at * * https://opensource.org/licenses/GPL-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package beans.dbaccess; public class ServerInfo { public String getSecond_level_service_name() { return second_level_service_name; } public void setSecond_level_service_name(String second_level_service_name) { this.second_level_service_name = second_level_service_name; } public String getFirst_level_service_name() { return first_level_service_name; } public void setFirst_level_service_name(String first_level_service_name) { this.first_level_service_name = first_level_service_name; } public String getIp() { return ip; } public void setIp(String ip) { this.ip = ip; } public int getPort() { return port; } public void setPort(int port) { this.port = port; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getOperation() { return operation; } public void setOperation(String operation) { this.operation = operation; } public ServerInfo() {}; public ServerInfo(ServerInfo info) { second_level_service_name = info.getSecond_level_service_name(); first_level_service_name = info.getFirst_level_service_name(); ip = info.getIp(); port = info.getPort(); status = info.getStatus(); operation = info.getOperation(); } public String toString() { return ip + ":" + port; } String second_level_service_name; String first_level_service_name; String ip; //IP int port; //端口 String status; //安装进度 String operation; //操作类型 }