Command and Description
Command
Handler
Arguments
SHUTDOWN
This command is sent to inform the application that it should take
whatever steps are necessary to shut down. For example:
sub shutdown_handler {
printf STDERR "\n---> Oracle App - Shutting down application !";
# Any application specific code here.
$obj->LogMsg("Exiting :);
$obj->Exit ();
# Tell UaTk to exit.
)
The protocol sends a record type with this command.
No default handler.
See also: STARTUP
None
USERNAME
By default, the handler for this command will set an internal variable
with the user name. The application can use the GetUserName( )
method to determine the last user name set.
This command is sent if a user name was set for the application in its
configuration. The USERNAME command is used by an application
in conjunction with the password provided by the PASSWORD
command for authentication.
The protocol sends a record type with this command.
Default handler: user_handler Can override.
See also: PASSWORD, GetUserName( )
String
Perl Library Methods
The Perl Library is written in Perl 5 and implements the client side
of the protocol library. This protocol library handles the parsing of
record attribute value pairs into a Perl hash table using the attribute
name as the key.
Developing Your Application in Perl
62
User Administration Version 3.8