Next Topic

Previous Topic

Book Contents

Login

Log in to the Traverse EDF server.

my $return_value = $obj->Login(
User => $login_id,
Password => $login_password,
Timeout => $timeout_secs);

This method opens a TCP connection to $tcp_port on $host_name_or_ip, as defined using the new method. If either the $login_id argument or the $login_pass argument is missing, the values specified in the new method (if any) are used. The username and password for the EDF server are different from those configured into the provisioning server. A special EDF user, specific to each DGE, is configured via the etc/dge.xml configuration file.
An optional named argument is provided to override the current timeout setting. On timeout or other connection errors, the return value is 0 and details on the error are available via the GetErrorMsg method. On success, a non-zero return value is provided.