1 22 package fr.dyade.aaa.admin.cmd; 23 24 import java.io.*; 25 26 public class UnsetServerNatCmd implements AdminCmd, Serializable { 27 28 public String serverName = null; 29 public String translationServerName = null; 30 public String translationHostName = null; 31 public int translationHostPort = -1; 32 33 41 public UnsetServerNatCmd(String serverName, 42 String translationServerName, 43 String translationHostName, 44 int translationHostPort) { 45 this.serverName = serverName; 46 this.translationServerName = translationServerName; 47 this.translationHostName = translationHostName; 48 this.translationHostPort = translationHostPort; 49 } 50 51 public String toString() { 52 StringBuffer buf = new StringBuffer (); 53 buf.append("UnsetServerNatCmd("); 54 buf.append("serverName="); 55 buf.append(serverName); 56 buf.append(",translationServerName="); 57 buf.append(translationServerName); 58 buf.append(",translationHostName="); 59 buf.append(translationHostName); 60 buf.append(",translationHostPort="); 61 buf.append(translationHostPort); 62 buf.append(")"); 63 return buf.toString(); 64 } 65 } 66 | Popular Tags |