HOME

com.ireasoning.protocol.snmp
Class ProxyEntry

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

public class ProxyEntry
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

Proxy entry in the agent config settings

See Also:
Serialized Form

Constructor Summary
ProxyEntry(java.lang.String ipAddress, int port, java.lang.String subtree, int timeout, java.lang.String readCommunity, java.lang.String writeCommunity, boolean isIncluded, java.lang.String versionStr, java.lang.String userName, java.lang.String authProtocol, java.lang.String authPassword, java.lang.String privProtocol, java.lang.String privPassword, java.lang.String contextName)
          Constructor
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object obj)
          Check if this object equals to passed object
 java.util.Map getAttributes()
          Returns all the attributes in a Map object
 java.lang.String getIpAddress()
          Returns the IP address
 int getPort()
          Returns the port number
 java.lang.String getReadCommunity()
          Returns the read community name
 java.lang.String getSubtree()
          Returns the subtree value
 int getTimeout()
          Returns the timeout value
 java.lang.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(java.lang.String ipAddress,
                  int port,
                  java.lang.String subtree,
                  int timeout,
                  java.lang.String readCommunity,
                  java.lang.String writeCommunity,
                  boolean isIncluded,
                  java.lang.String versionStr,
                  java.lang.String userName,
                  java.lang.String authProtocol,
                  java.lang.String authPassword,
                  java.lang.String privProtocol,
                  java.lang.String privPassword,
                  java.lang.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 java.lang.String getIpAddress()
Returns the IP address


getPort

public int getPort()
Returns the port number


getTimeout

public int getTimeout()
Returns the timeout value


getReadCommunity

public java.lang.String getReadCommunity()
Returns the read community name


getWriteCommunity

public java.lang.String getWriteCommunity()
Returns the write community name


getSubtree

public java.lang.String getSubtree()
Returns the subtree value


isIncluded

public boolean isIncluded()
Returns the isIncluded value


compareTo

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

equals

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

Overrides:
equals in class java.lang.Object
Parameters:
obj - the obejct to be compared.

getAttributes

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


HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.