37 stringRep.
add(
rfsvfactory::FACERR_COULD_NOT_SEND,
N_("could not send version request"));
66 a.addStringT(
"NCP$INFO");
79 if (
a.getLen() > 8 && !strncmp(
a.getString(),
"Series 3", 8)) {
82 else if (
a.getLen() > 8 && !strncmp(
a.getString(),
"Series 5", 8)) {
85 if ((
a.getLen() > 8) && !strncmp(
a.getString(),
"No Psion", 8)) {
#define ENUM_DEFINITION_END(EnumName)
#define ENUM_DEFINITION_BEGIN(EnumName, initWith)
Helper macro to construct an enumeration wrapper Enum<E> for a specific enum type.
A class for dealing with sockets.
bool closeSocket(void)
Closes the connection.
virtual bool reconnect()
Reopens the connection after closing it.
int getBufferStore(bufferStore &a, bool wait=true)
Receive data into a bufferStore .
bool sendBufferStore(const bufferStore &a)
Sends data from a bufferStore .
A generic container for an array of bytes.
This is the implementation of the rfsv protocol for Psion series 3 (SIBO) variant.
This is the implementation of the rfsv protocol for Psion series 5 (EPOC) variant.
Access remote file services of a Psion.
A factory for automatically instantiating the correct rfsv protocol variant depending on the connecte...
virtual ~rfsvfactory()
Delete the rfsvfactory, cleaning up any resources.
errs
The known errors which can happen during create .
TCPSocket * skt
The socket to be used for connecting to the ncpd daemon.
virtual rfsv * create(bool)
Creates a new rfsv instance.
stringRep add(rfsvfactory::FACERR_NONE, N_("no error"))
static void error(int line)
Description of a Psion-Device.