openMSX
|
#include <CliConnection.hh>
Public Member Functions | |
SocketConnection (CommandController &commandController, EventDistributor &eventDistributor, SOCKET sd) | |
~SocketConnection () override | |
void | output (std::string_view message) override |
Public Member Functions inherited from openmsx::CliConnection | |
void | setUpdateEnable (CliComm::UpdateType type, bool value) |
bool | getUpdateEnable (CliComm::UpdateType type) const |
void | start () |
Starts the helper thread. | |
Public Member Functions inherited from openmsx::CliListener | |
CliListener (const CliListener &)=delete | |
CliListener (CliListener &&)=delete | |
CliListener & | operator= (const CliListener &)=delete |
CliListener & | operator= (CliListener &&)=delete |
virtual | ~CliListener ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::CliConnection | |
CliConnection (CommandController &commandController, EventDistributor &eventDistributor) | |
~CliConnection () override | |
void | end () |
End this connection by sending the closing tag and then closing the stream. | |
void | startOutput () |
Send opening XML tag, should be called exactly once by a subclass shortly after opening a connection. | |
Protected Member Functions inherited from openmsx::CliListener | |
CliListener ()=default | |
Protected Attributes inherited from openmsx::CliConnection | |
AdhocCliCommParser | parser |
Poller | poller |
Definition at line 123 of file CliConnection.hh.
openmsx::SocketConnection::SocketConnection | ( | CommandController & | commandController, |
EventDistributor & | eventDistributor, | ||
SOCKET | sd | ||
) |
Definition at line 275 of file CliConnection.cc.
|
override |
Definition at line 283 of file CliConnection.cc.
References openmsx::CliConnection::end().
|
overridevirtual |
Implements openmsx::CliConnection.
Definition at line 330 of file CliConnection.cc.
References openmsx::Poller::abort(), openmsx::OPENMSX_INVALID_SOCKET, openmsx::CliConnection::poller, and openmsx::sock_send().