com.adventnet.services.proxy
Class ProxyUtils

java.lang.Object
  |
  +--com.adventnet.services.proxy.ProxyUtils

public class ProxyUtils
extends java.lang.Object

This class provides static utility methods that will be used in forming the Varbinds for the proxying. The methods of this class are used by the JmxProxy class.


Constructor Summary
ProxyUtils()
           
 
Method Summary
static int[] addIntArrays(int[] old, java.lang.String type, java.lang.String value)
          Method to add int arrays
static void addvarbind(SnmpPDU pdu, SnmpOID oid, java.lang.String type, java.lang.String value)
          Method to add the varbind
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyUtils

public ProxyUtils()
Method Detail

addvarbind

public static void addvarbind(SnmpPDU pdu,
                              SnmpOID oid,
                              java.lang.String type,
                              java.lang.String value)
Method to add the varbind

addIntArrays

public static int[] addIntArrays(int[] old,
                                 java.lang.String type,
                                 java.lang.String value)
Method to add int arrays
Parameters:
old - The int array to which the value has to be added
type - The type of the value to be added
value - The value to be added to the int array