*/
public ServerConnection getServerConnection(ApplicationConfig config)
throws ConnectionFailedException {
try{
InetAddress hostAddress = InetAddress.getByName(config.getHost());
SNMPv1CommunicationInterface commIntf =
new SNMPv1CommunicationInterface(1, hostAddress, "public",
config.getPort().intValue());
SNMPAgentConnection connection = new SNMPAgentConnection(commIntf);
return connection;
}catch(Throwable e){
throw new ConnectionFailedException(e);