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]
-
serverClient
- This is the object implementing the SAServerClient interface.
-
sessionClientClass
- This is the class implementing the SASessionClient interface.
-
SAServer()
-
-
main(String[])
-
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.
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.
SAServer
public SAServer()
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index