All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class advent.sas.SAServer

java.lang.Object
   |
   +----advent.sas.SAServer

public class SAServer
extends Object
The SNMP Applet Server provides communication for NM applets unable to connect directly to managed devices due to security limits. The port used (can be specified with -p) is written to a file (SASocket) in the aplet directory where it is read by the applet. The SNMP Applet client will request a session via this port and SASession will be invoked to handle the needs of that session. Ability to save files in a sub-directory called SASusers is allowed for the purpose of saving data from the applet. It can only be read via the URL/Web Server. The applet directory is assumed to be the current directory unless specified with a [-d applet_directory]. Socket access to any but SNMP UDP ports 161 and 162, can be specified with a [-restrict_sockets]. Without this UDP packets can be sent to any port. File output access can be disabled with [-no_file_output]


Variable Index

 o serverClient
This is the object implementing the SAServerClient interface.
 o sessionClientClass
This is the class implementing the SASessionClient interface.

Constructor Index

 o SAServer()

Method Index

 o main(String[])

Variables

 o serverClient
 public static SAServerClient serverClient
This is the object implementing the SAServerClient interface. It can be set via the command line, or later in user code. SAS will invoke it's methods as required if it is not null.

 o sessionClientClass
 public static Class sessionClientClass
This is the class implementing the SASessionClient interface. It can be set via the command line, or later in user code. SAS will instantiate ti and invoke it's methods as required for each applet session, if it is not null.

Constructors

 o SAServer
 public SAServer()

Methods

 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index