Remote Command Execution


CLASS aprRLib

 

Description

The remote execution client library allows an application to execute a command on a UNIX server, with the input and output of the command redirected through the connection.

 

Variables

 

:cErr

Return a description for the Last error code

 

:DeBug

Enable/Disable extended Debug notifications.

 

:DebugTrace

Enable/Disable Callstack List to be included in Error Messages (:Debug)

 

:nErr

Return the last error code

 

:Session

Holds the Initial Session ID value (used as the Default Session ID)

 

 

 

Methods

 

:New()

Instantiate and Initialize the Class for use by the calling process

 

:Destroy()

Terminate use of the library by the calling process

 

 

 

 

:Cancel()

Cancel the current blocking operation

 

:Disconnect()

Disconnect from the current server

 

:GetSocket()

Return the current session socket

 

:IsBlocking()

Determine if the client is blocked, waiting for information

 

:Login()

Login to the remote server

 

:Read()

Read data returned by the remote server

 

:RemoteCommand()

Execute a command on a remote server with host equivalence

 

:RemoteExecute()

Execute a command on the remote server requiring a password

 

:SetLastError()

Set the last error code

 

:Timeout()

Get/Set the number of seconds until an operation times out

 

:Trace()

Enable/Disable logging of socket-level calls to the trace log

 

:Write()

Write data to the server