plptools
Loading...
Searching...
No Matches
rpcs16.h
Go to the documentation of this file.
1/*
2 * This file is part of plptools.
3 *
4 * Copyright (C) 1999 Philip Proudman <philip.proudman@btinternet.com>
5 * Copyright (C) 1999-2002 Fritz Elfert <felfert@to.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * along with this program; if not, see <https://www.gnu.org/licenses/>.
19 *
20 */
21#ifndef _RPCS16_H_
22#define _RPCS16_H_
23
24#include "rpcs.h"
25
26class TCPSocket;
27class bufferStore;
28class rpcsfactory;
29
37class rpcs16 : public rpcs {
38 friend class rpcsfactory;
39
40 public:
41 Enum<rfsv::errs> getCmdLine(const char *, std::string &);
43
44
45 private:
47};
48
49#endif
Wrapper class featuring range-checking and string representation of enumerated values.
Definition: Enum.h:136
A class for dealing with sockets.
Definition: tcpsocket.h:38
An array of bufferStores.
Definition: bufferarray.h:31
A generic container for an array of bytes.
Definition: bufferstore.h:37
This is the implementation of the rpcs protocol for Psion series 3 (SIBO) variant.
Definition: rpcs16.h:37
Enum< rfsv::errs > getCmdLine(const char *, std::string &)
Retrieves the command line of a running process.
Definition: rpcs16.cc:42
Enum< rfsv::errs > getOwnerInfo(bufferArray &owner)
Retrieve owner information of the remote machine.
Definition: rpcs16.cc:56
Remote procedure call services via PLP.
Definition: rpcs.h:51
A factory for automatically instantiating the correct protocol variant depending on the connected Psi...
Definition: rpcsfactory.h:32
static bufferStore owner
Definition: main.cc:58