54 rclip(std::unique_ptr<TCPSocket> socket);
An array of BufferStores.
A generic container for an array of bytes.
Wrapper class featuring range-checking and string representation of enumerated values.
A class for dealing with sockets.
Remote ClipBoard services via PLP.
Enum< RFSV::errs > sendListen()
Send listen request.
Enum< RFSV::errs > status
The current status of the connection.
Enum< RFSV::errs > checkNotify()
Check for clipboard notification.
Enum< RFSV::errs > getStatus()
Retrieves the current status of the connection.
Enum< RFSV::errs > waitNotify()
Send listen request and wait for notification.
bool sendCommand(enum commands cc)
Sends a command to the remote side.
const char * getConnectName()
Enum< RFSV::errs > getResponse(BufferStore &data)
void reconnect()
Attempts to re-establish a remote connection by first closing the socket, then connecting again to th...
Enum< RFSV::errs > initClipbd()
Send initialization frame.
commands
The possible commands.
static rclip * connect(const std::string &host, int port, Enum< ConnectionError > *error=nullptr)
Enum< RFSV::errs > notify()
Send a notification to the Psion.
void reset()
Initializes a connection to the remote machine.
std::unique_ptr< TCPSocket > socket_
The socket, used for communication with ncpd.
static void error(int line)