|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aselect.agent.ASelectAgent
public class ASelectAgent
A-Select Agent Main Class.
Description:
The A-Select Agent is a lightweight server that offers an convenient API for
applications to make use of the services of multiple A-Select Servers.
The A-Select Agent also offers advanced session management that applications
may use. The A-Select Agent only accepts connections from applications that run on the
same host.
Currently, the A-Select Agent supports the following API requests:
authenticatecross_authenticateverify_credentialsverify_ticketkill_ticket
| Field Summary | |
|---|---|
static java.lang.String |
MODULE
Module string. |
static java.lang.String |
VERSION
Version string. |
| Constructor Summary | |
|---|---|
ASelectAgent()
Constructor for the A-Select Agent class. |
|
| Method Summary | |
|---|---|
void |
destroy()
Clean up Agent. |
void |
destroyGui()
Clean up Agent GUI recourses if applicable. |
int |
getAdminPort()
Returns the TCP/IP portnumber of the A-Select Agent's Admin interface. |
void |
init()
Initializes the A-Select Agent. |
boolean |
isActive()
Returns whether A-Select Agent is active. |
boolean |
isInGuiMode()
Returns The A-Select Agent GUI mode. |
static void |
main(java.lang.String[] saArgs)
Main entry point for starting the Agent in console mode. |
void |
startServices()
Starts the services of the A-Select Agent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MODULE
public static final java.lang.String VERSION
| Constructor Detail |
|---|
public ASelectAgent()
| Method Detail |
|---|
public static void main(java.lang.String[] saArgs)
init() method and then the
startServices() method.
System.exit(1) is
returned.
saArgs - Commandline parameters; currently not used.
public void init()
throws ASelectException
ASelectException - if initialization was unsuccessful.public void destroy()
public void destroyGui()
Window.dispose()
method which disposes the Agent GUI.
dispose() the Java virtual
machine (VM) may terminate.
public void startServices()
throws java.lang.Exception
java.lang.Exception - if the services could not be started.public int getAdminPort()
public boolean isActive()
public boolean isInGuiMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||