1 10 11 package com.sun.jmx.snmp; 12 13 import java.io.Serializable ; 14 15 23 public class SnmpEngineParameters implements Serializable { 24 private UserAcl uacl = null; 25 private String securityFile = null; 26 private boolean encrypt = false; 27 private SnmpEngineId engineId = null; 28 29 32 public void setSecurityFile(String securityFile) { 33 this.securityFile = securityFile; 34 } 35 36 40 public String getSecurityFile() { 41 return securityFile; 42 } 43 49 public void setUserAcl(UserAcl uacl) { 50 this.uacl = uacl; 51 } 52 53 57 public UserAcl getUserAcl() { 58 return uacl; 59 } 60 61 65 public void activateEncryption() { 66 this.encrypt = true; 67 } 68 69 73 public void deactivateEncryption() { 74 this.encrypt = false; 75 } 76 77 81 public boolean isEncryptionEnabled() { 82 return encrypt; 83 } 84 85 89 public void setEngineId(SnmpEngineId engineId) { 90 this.engineId = engineId; 91 } 92 93 97 public SnmpEngineId getEngineId() { 98 return engineId; 99 } 100 } 101 | Popular Tags |