com.outbackinc.services.protocol.snmp
Class SnmpLocalInterfaces

java.lang.Object
  |
  +--com.outbackinc.services.protocol.snmp.SnmpLocalInterfaces

public class SnmpLocalInterfaces
extends java.lang.Object

Local clients of jSNMP should use this class to obtain references to the local SnmpTrapProfileFactory and the local SnmpService


Method Summary
static SnmpAuthoritativeSessionFactory getAuthoritativeSessionFactory()
          Obtains a local singleton SnmpAuthoritativeSessionFactory for the user.
static SnmpMIBService getMIBService()
          Obtains a local singleton SnmpMIBService for the user.
static SnmpService getService()
          Obtains a local singleton SnmpService for the user.
static SnmpServiceConfiguration getServiceConfiguration(SnmpService service)
          Obtains a local singleton SnmpServiceConfiguration for the user.
static SnmpTrapProfileFactory getTrapProfileFactory()
          Obtains a local singleton SnmpTrapProfileFactory for the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getService

public static SnmpService getService()
                              throws java.net.SocketException
Obtains a local singleton SnmpService for the user. Will create one if not already instantiated, and register the USM and CSM security models with the security manager.
Returns:
local singleton SnmpService
Throws:
java.net.SocketException - if the SnmpService cannot be instantiated because of a socket problem

getServiceConfiguration

public static SnmpServiceConfiguration getServiceConfiguration(SnmpService service)
                                                        throws java.lang.IllegalArgumentException
Obtains a local singleton SnmpServiceConfiguration for the user. The SnmpService must already be created with the getService() method.
Returns:
local singleton SnmpServiceConfiguration
Throws:
java.lang.IllegalArgumentException - if the SnmpService is null

getTrapProfileFactory

public static SnmpTrapProfileFactory getTrapProfileFactory()
Obtains a local singleton SnmpTrapProfileFactory for the user. Will create one if not already instantiated.
Returns:
local singleton SnmpTrapProfileFactory

getMIBService

public static SnmpMIBService getMIBService()
Obtains a local singleton SnmpMIBService for the user. Will create one if not already instantiated.
Returns:
local singleton SnmpMIBService

getAuthoritativeSessionFactory

public static SnmpAuthoritativeSessionFactory getAuthoritativeSessionFactory()
Obtains a local singleton SnmpAuthoritativeSessionFactory for the user. Will create one if not already instantiated.
Returns:
local singleton SnmpAuthoritativeSessionFactory


Home  Services  Products  Purchase  Contact Us  About Us  Legal  Ceramics
Copyright © 2003-2008 jSNMP Enterprises All rights reserved.