|
|
Remote procedure call services via PLP
rpcs provides an interface for communicating with the Psion's remote procedure call service. The generic facilities for both, EPOC and SIBO are implemented here, while the facilities, unique to each of those variants are implemented in rpcs32 or rpcs16 respectively. These normally are instantiated by using rpcsfactory .
enum |
The known machine types.
enum |
The known interface languages.
enum |
The known battery states.
typedef struct |
This struct holds the data returned by rpcs::getMachineInfo.
~ |
[virtual]
Virtual destructor.
void |
Initializes a connection to the remote machine.
void |
Attempts to re-establish a remote connection by first closing the socket, then connecting again to the ncpd daemon and finally calling reset.
Enum<rfsv::errs> |
Retrieves the current status of the connection.
Returns: The connection status.
Enum<rfsv::errs> |
Retrieves the version of the NCP protocol on the remote side.
This function is working with both SIBO and EPOC devices.
Parameters:
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
Starts execution of a program on the remote machine.
This function is working with both SIBO and EPOC devices.
Parameters:
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
Requests termination of a program running on the remote machine.
This function is working with both SIBO and EPOC devices.
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
Enum<rfsv::errs> |
Starts formatting a drive.
This function is working with both SIBO and EPOC devices. After calling formatOpen, formatRead should be called n times with the returned handle where n is the value of the returned parameter count.
Parameters:
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
Continues a running format.
This function is working with both SIBO and EPOC devices. Call this function with the handle, returned by formatOpen.
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
Enum<rfsv::errs> |
Retrieve owner information of the remote machine.
This function is working with both SIBO and EPOC devices.
Parameters:
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
Retrieves the type of machine on the remote side as defined in machs.
This function is working with both SIBO and EPOC devices
Parameters:
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
Retrieves the name of a process, having a given file opened on the remote side.
This function is working with both SIBO and EPOC devices
Parameters:
Enum<rfsv::errs> |
Requests the remote server to terminate.
This function is working with both SIBO and EPOC devices. There is usually no need to call this function, because the remote server is automatically stopped on disconnect.
Returns: A psion error code. 0 = Ok.
Enum<rfsv::errs> |
[pure virtual]
Enum<rfsv::errs> |
[pure virtual]
Retrieves the command line of a running process.
This function works with EPOC only. Using it with SIBO machines, returns always an error code E_PSI_NOT_SIBO.
Parameters:
Returns: Psion error code. 0 = Ok.
Enum<rfsv::errs> |
[virtual]
Retrieve general Information about the connected machine.
This function works with EPOC only. Using it with SIBO machines, returns always an error code E_PSI_NOT_SIBO.
Parameters:
Returns: Psion error code. 0 = Ok.
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
Enum<rfsv::errs> |
[virtual]
ppsocket * |
[protected]
The socket, used for communication with ncpd.
Enum<rfsv::errs> |
[protected]
The current status of the connection.
enum |
[protected]
The possible commands.
bool |
[protected]
Sends a command to the remote side.
If communication fails, a reconnect is triggered and a second attempt to transmit the request is attempted. If that second attempt fails, the function returns an error an sets rpcs::status to E_PSI_FILE_DISC.
Parameters:
Returns: true on success, false on failure.
Enum<rfsv::errs> |
[protected]
const char * |
[protected]