Public Member Functions | Private Attributes | List of all members
swarmio::transport::zyre::ZyreControlSocket Class Referencefinal

An inproc socket bound to a special name generated from an object pointer. More...

#include <ZyreControlSocket.h>

Public Member Functions

zsock_t * GetSocket ()
 Get the pointer to the socket. More...
 
 operator zsock_t * () const
 Implicit conversion operator. More...
 
 ZyreControlSocket ()
 Construct a new server ZyreControlSocket, where the endpoint name is determined from the in-memory location of the object. More...
 
 ZyreControlSocket (const ZyreControlSocket *target)
 Construct a new client ZyreControlSocket, where the endpoint name is determined from the in-memory location of the parent. More...
 
virtual ~ZyreControlSocket ()
 Destroy the ZyreControlSocket object. More...
 

Private Attributes

zsock_t * _socket
 Socket reference. More...
 

Detailed Description

An inproc socket bound to a special name generated from an object pointer.

Definition at line 12 of file ZyreControlSocket.h.

Constructor & Destructor Documentation

ZyreControlSocket::ZyreControlSocket ( )

Construct a new server ZyreControlSocket, where the endpoint name is determined from the in-memory location of the object.

Definition at line 8 of file ZyreControlSocket.cpp.

ZyreControlSocket::ZyreControlSocket ( const ZyreControlSocket target)

Construct a new client ZyreControlSocket, where the endpoint name is determined from the in-memory location of the parent.

Parameters
socket

Definition at line 22 of file ZyreControlSocket.cpp.

ZyreControlSocket::~ZyreControlSocket ( )
virtual

Destroy the ZyreControlSocket object.

Definition at line 36 of file ZyreControlSocket.cpp.

Member Function Documentation

zsock_t* swarmio::transport::zyre::ZyreControlSocket::GetSocket ( )
inline

Get the pointer to the socket.

Returns
zsock_t*

Definition at line 45 of file ZyreControlSocket.h.

swarmio::transport::zyre::ZyreControlSocket::operator zsock_t * ( ) const
inline

Implicit conversion operator.

Returns
zsock_t*

Definition at line 55 of file ZyreControlSocket.h.

Member Data Documentation

zsock_t* swarmio::transport::zyre::ZyreControlSocket::_socket
private

Socket reference.

Definition at line 20 of file ZyreControlSocket.h.


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


swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48