winss
|
An inbound pipe server. More...
#include <pipe_server.hpp>
Public Member Functions | |
InboundPipeServerTmpl (const PipeServerConfig &config) | |
InboundPipeServerTmpl (const InboundPipeServerTmpl &)=delete | |
No copy. More... | |
InboundPipeServerTmpl (InboundPipeServerTmpl &&)=delete | |
No move. More... | |
virtual void | AddListener (winss::NotOwningPtr< PipeServerReceiveListener > listener) |
Add a listener to the pipe server for receive events. More... | |
InboundPipeServerTmpl & | operator= (const InboundPipeServerTmpl &)=delete |
No copy. More... | |
InboundPipeServerTmpl & | operator= (InboundPipeServerTmpl &&)=delete |
No move. More... | |
![]() | |
PipeServer (const PipeServerConfig &config) | |
Create a new pipe instance with the given config. More... | |
PipeServer (const PipeServer &)=delete | |
No copy. More... | |
PipeServer (PipeServer &&)=delete | |
No move. More... | |
virtual bool | IsAccepting () const |
Gets if the pipe server is accepting a new connection. More... | |
virtual bool | IsStopping () const |
Gets if the pipe server is stopping. More... | |
virtual size_t | InstanceCount () const |
Gets the current instance count. More... | |
PipeServer & | operator= (const PipeServer &)=delete |
No copy. More... | |
PipeServer & | operator= (PipeServer &&)=delete |
No move. More... | |
virtual | ~PipeServer () |
Disconnect all clients and close all connections. More... | |
Additional Inherited Members | |
![]() | |
void | StartClient () |
Open a new named pipe for a new client to connect to. More... | |
void | Stop () |
Stop the pipe server. More... | |
void | Triggered (const winss::HandleWrapper &handle) |
The event handler for the pipe server. More... | |
![]() | |
bool | stopping = false |
Flag if the server is stopping. More... | |
bool | open = false |
Flag if the server is open for connections. More... | |
std::map< winss::HandleWrapper, TPipeInstance > | instances |
A mapping of handles to instances. More... | |
winss::NotOwningPtr< winss::WaitMultiplexer > | multiplexer |
The event multiplexer for the named pipe server. More... | |
winss::PipeName | pipe_name |
The name of the pipe. More... | |
An inbound pipe server.
TPipeInstance | The named pipe instance implementation. |
|
inlineexplicit |
|
delete |
No copy.
|
delete |
No move.
|
inlinevirtual |
Add a listener to the pipe server for receive events.
Referenced by winss::SuperviseController::SuperviseController(), and winss::SvScanController::SvScanController().
|
delete |
No copy.
|
delete |
No move.