openMSX
Public Member Functions | List of all members
openmsx::SocketConnection Class Referencefinal

#include <CliConnection.hh>

Inheritance diagram for openmsx::SocketConnection:
Inheritance graph
[legend]
Collaboration diagram for openmsx::SocketConnection:
Collaboration graph
[legend]

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
 
CliListeneroperator= (const CliListener &)=delete
 
CliListeneroperator= (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
 

Detailed Description

Definition at line 123 of file CliConnection.hh.

Constructor & Destructor Documentation

◆ SocketConnection()

openmsx::SocketConnection::SocketConnection ( CommandController commandController,
EventDistributor eventDistributor,
SOCKET  sd 
)

Definition at line 275 of file CliConnection.cc.

◆ ~SocketConnection()

openmsx::SocketConnection::~SocketConnection ( )
override

Definition at line 283 of file CliConnection.cc.

References openmsx::CliConnection::end().

Member Function Documentation

◆ output()

void openmsx::SocketConnection::output ( std::string_view  message)
overridevirtual

The documentation for this class was generated from the following files: