HOME

com.ireasoning.protocol.snmp
Class ProxyEntry

java.lang.Object
  extended bycom.ireasoning.protocol.snmp.ProxyEntry
All Implemented Interfaces:
Comparable, Serializable

public class ProxyEntry
extends Object
implements Comparable, Serializable

Proxy entry in the agent config settings

See Also:
Serialized Form

Constructor Summary
ProxyEntry(String ipAddress, int port, String subtree, int timeout, String readCommunity, String writeCommunity, boolean isIncluded, String versionStr, String userName, String authProtocol, String authPassword, String privProtocol, String privPassword, String contextName)
          Constructor
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
          Check if this object equals to passed object
 Map getAttributes()
          Returns all the attributes in a Map object
 String getIpAddress()
          Returns the IP address
 int getPort()
          Returns the port number
 String getReadCommunity()
          Returns the read community name
 String getSubtree()
          Returns the subtree value
 int getTimeout()
          Returns the timeout value
 String getWriteCommunity()
          Returns the write community name
 boolean isIncluded()
          Returns the isIncluded value
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyEntry

public ProxyEntry(String ipAddress,
                  int port,
                  String subtree,
                  int timeout,
                  String readCommunity,
                  String writeCommunity,
                  boolean isIncluded,
                  String versionStr,
                  String userName,
                  String authProtocol,
                  String authPassword,
                  String privProtocol,
                  String privPassword,
                  String contextName)
Constructor

Parameters:
ipAddress - ip address of agent
port - port number of agent
subtree - subtree oid
timeout - timeout value
readCommunity - read community name
writeCommunity - write community name
isIncluded - isIncluded value
Method Detail

getIpAddress

public String getIpAddress()
Returns the IP address


getPort

public int getPort()
Returns the port number


getTimeout

public int getTimeout()
Returns the timeout value


getReadCommunity

public String getReadCommunity()
Returns the read community name


getWriteCommunity

public String getWriteCommunity()
Returns the write community name


getSubtree

public String getSubtree()
Returns the subtree value


isIncluded

public boolean isIncluded()
Returns the isIncluded value


compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

equals

public boolean equals(Object obj)
Check if this object equals to passed object

Parameters:
obj - the obejct to be compared.

getAttributes

public Map getAttributes()
Returns all the attributes in a Map object


HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.