pars 0.2.1.99
Loading...
Searching...
No Matches
pars::net Namespace Reference

Classes

class  context
 
struct  context_opt
 
class  context_registry
 
class  op
 
class  pipe
 
class  pull
 Represents an nng_pull protocol. More...
 
class  push
 Represents an nng_push protocol. More...
 
class  rep
 Represents an nng_rep protocol. More...
 
class  req
 Represents an nng_req protocol. More...
 
class  socket
 Represents an nng_socket. More...
 
struct  socket_opt
 Represents the options that can be configured for a given socket. More...
 
class  tool_view
 Represents an nng_socket or nng_ctx view. More...
 

Concepts

concept  tool_c
 

Typedefs

using cb_f = std::function<void(clev::expected<void>, nngxx::msg)>
 

Enumerations

enum class  dir { out , in }
 
enum class  cmode { dial , listen }
 

Typedef Documentation

◆ cb_f

using pars::net::cb_f = std::function<void(clev::expected<void>, nngxx::msg)>

Definition at line 51 of file op.h.

Enumeration Type Documentation

◆ cmode

enum class pars::net::cmode
strong
Enumerator
dial 
listen 

Definition at line 49 of file socket.h.

50{
51 dial,
52 listen
53};

◆ dir

enum class pars::net::dir
strong
Enumerator
out 
in 

Definition at line 37 of file dir.h.

38{
39 out,
40 in
41};