class rfsvfactory

A factory for automatically instantiating the correct rfsv protocol variant depending on the connected Psion. More...

Definition#include <lib/rfsvfactory.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

A factory for automatically instantiating the correct rfsv protocol variant depending on the connected Psion.

enum errs {FACERR_NONE = 0, FACERR_COULD_NOT_SEND = 1, FACERR_AGAIN = 2, FACERR_NOPSION = 3, FACERR_PROTVERSION = 4, FACERR_NORESPONSE = 5, }

The known errors which can happen during create .

 rfsvfactory (ppsocket * skt)

Constructs a rfsvfactory.

Parameters:
sktThe socket to be used for connecting to the ncpd daemon.

rfsv *  create (bool)

[virtual]

Creates a new rfsv instance.

Parameters:
reconnectSet to true, if automatic reconnect should be performed on failure.

Returns: A pointer to a newly created rfsv instance or NULL on failure.

Enum<errs>  getError ()

[virtual]

Retrieve an error code.

Returns: The error code, in case create has failed, 0 otherwise.


Generated by: felfert@usw-pr-shell1.sourceforge.net on Sat Aug 10 18:46:04 2002, using kdoc 2.0a36.