1 24 package org.objectweb.joram.shared.admin; 25 26 public class AddServerRequest extends AdminRequest { 27 28 private static final long serialVersionUID = -4803635763566324018L; 29 30 private String serverName; 31 private String hostName; 32 private int serverId; 33 private String domainName; 34 private int port; 35 private String [] serviceNames; 36 private String [] serviceArgs; 37 38 public AddServerRequest(int serverId, 39 String hostName, 40 String domainName, 41 int port, 42 String serverName, 43 String [] serviceNames, 44 String [] serviceArgs) { 45 this.serverId = serverId; 46 this.hostName = hostName; 47 this.serverName = serverName; 48 this.domainName = domainName; 49 this.port = port; 50 this.serviceNames = serviceNames; 51 this.serviceArgs = serviceArgs; 52 } 53 54 public final String getServerName() { 55 return serverName; 56 } 57 58 public final String getHostName() { 59 return hostName; 60 } 61 62 public final int getServerId() { 63 return serverId; 64 } 65 66 public final String getDomainName() { 67 return domainName; 68 } 69 70 public final int getPort() { 71 return port; 72 } 73 74 public final String [] getServiceNames() { 75 return serviceNames; 76 } 77 78 public final String [] getServiceArgs() { 79 return serviceArgs; 80 } 81 } 82 | Popular Tags |