Primary Method and Description Arguments Exit This method allows a graceful exit of the  UaTkMain  method and sets an internal variable  $err_code  to  3, to allow an exit. This does not prevent acknowledgment and is not immediate. See also:  FatalError No arguments Convenience Methods The following table lists the convenience methods, briefly describing their usage and arguments. Convenience methods are provided to simplify implementation of command handlers. They are valid only in the context of a handler. Do not try to use convenience methods prior to calling the  UaTkMain( )  method because the data, if any, will be invalid. Convenience Method and Description Arguments GetUserName This method returns the user name set by the last  USER command. If not set, or if the  user_handler  method is overridden, then the return value is   . No arguments GetRecordType All protocol commands except  FILTER  are followed by a record type when sent form the connection manager. This method returns the record type for the current command. In the case of the FILTER  command, it returns   . No arguments GetDistributionMode One function of the default handler  dist_handler  is to set the current distribution mode. The Application Management Toolkit protocol specifies an integer following the  DISTRIBUTE command. Internally, this is converted to a string, either PRESERVE or EXACT. This method returns the string. No arguments GetDistributionList This method returns a hash containing the list of attributes specified by the  DISTRIBUTE  command. No arguments Developing Your Application in Perl 66 User Administration Version 3.8