goldengate.snmp.test
Class GgTestSnmpClientAgent

java.lang.Object
  extended by goldengate.snmp.test.GgTestSnmpClientAgent

public class GgTestSnmpClientAgent
extends Object

Test class for Agent and simple Client

Author:
Frederic Bregier

Constructor Summary
GgTestSnmpClientAgent()
           
 
Method Summary
static void main(String[] args)
           
static void sendNotification()
           
static void setUp(String file)
           
static void tearDown()
           
static void verifySysDescr()
          Simply verifies that we get the same sysDescr as we have registered in our agent
static void verifyTableContents()
          Verify that the table contents is ok.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GgTestSnmpClientAgent

public GgTestSnmpClientAgent()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

setUp

public static void setUp(String file)
                  throws Exception
Throws:
Exception

tearDown

public static void tearDown()
                     throws Exception
Throws:
Exception

verifySysDescr

public static void verifySysDescr()
                           throws IOException
Simply verifies that we get the same sysDescr as we have registered in our agent

Throws:
IOException

verifyTableContents

public static void verifyTableContents()
Verify that the table contents is ok.


sendNotification

public static void sendNotification()


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.