dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
dfx::Server Namespace Reference

Classes

class  TcpServer
 Asynchronous TCP server integrated with a FdWatch::Poller. More...
class  TcpServerForSession
 Convenience TcpServer that instantiates a fixed TcpSession type. More...
class  TcpSession
 One asynchronous TCP connection managed by TcpServer. More...
class  UnixRouter
 JSON command router for the Unix domain socket control protocol. More...
class  UnixServer
 Asynchronous Unix domain socket control server driven by a FdWatch::Poller. More...
class  UnixSession
 One connected client session of a UnixServer control socket. More...

Concepts

concept  DerivedFromTcpSession
 Constrains a type to be derived from dfx::Server::TcpSession.

Typedefs

using UnixSessionPtr = std::shared_ptr<UnixSession>
 Shared ownership pointer type for sessions.
using TcpSessionPtr = std::shared_ptr<TcpSession>
 Shared ownership pointer type for sessions.
using TcpSessionWPtr = std::weak_ptr<TcpSession>
 Weak pointer type for sessions.
using UnixSessionWPtr = std::weak_ptr<UnixSession>
 Weak pointer type for sessions.

Typedef Documentation

◆ TcpSessionPtr

using dfx::Server::TcpSessionPtr = std::shared_ptr<TcpSession>

Shared ownership pointer type for sessions.

◆ TcpSessionWPtr

using dfx::Server::TcpSessionWPtr = std::weak_ptr<TcpSession>

Weak pointer type for sessions.

◆ UnixSessionPtr

typedef std::shared_ptr< UnixSession > dfx::Server::UnixSessionPtr = std::shared_ptr<UnixSession>

Shared ownership pointer type for sessions.

◆ UnixSessionWPtr

using dfx::Server::UnixSessionWPtr = std::weak_ptr<UnixSession>

Weak pointer type for sessions.