Ipc::SharedListenResponse Class Reference

a response to SharedListenRequest More...

#include <SharedListen.h>

Collaboration diagram for Ipc::SharedListenResponse:

Public Member Functions

 SharedListenResponse (int fd, int errNo, RequestId aMapId)
 sender's constructor More...
 
 SharedListenResponse (const TypedMsgHdr &hdrMsg)
 from recvmsg() More...
 
void pack (TypedMsgHdr &hdrMsg) const
 prepare for sendmsg() More...
 
QuestionerId intendedRecepient () const
 for Mine() tests More...
 

Public Attributes

int fd
 opened listening socket or -1 More...
 
int errNo
 errno value from comm_open_sharedListen() call More...
 
RequestId mapId
 to map future response to the requestor's callback More...
 

Detailed Description

Definition at line 63 of file SharedListen.h.

Constructor & Destructor Documentation

◆ SharedListenResponse() [1/2]

Ipc::SharedListenResponse::SharedListenResponse ( int  fd,
int  errNo,
RequestId  aMapId 
)

Definition at line 94 of file SharedListen.cc.

◆ SharedListenResponse() [2/2]

Ipc::SharedListenResponse::SharedListenResponse ( const TypedMsgHdr hdrMsg)
explicit

Member Function Documentation

◆ intendedRecepient()

QuestionerId Ipc::SharedListenResponse::intendedRecepient ( ) const
inline

Definition at line 71 of file SharedListen.h.

References mapId, and Ipc::RequestId::questioner().

◆ pack()

void Ipc::SharedListenResponse::pack ( TypedMsgHdr hdrMsg) const

Member Data Documentation

◆ errNo

int Ipc::SharedListenResponse::errNo

Definition at line 75 of file SharedListen.h.

Referenced by Ipc::SharedListenJoined().

◆ fd

int Ipc::SharedListenResponse::fd

Definition at line 74 of file SharedListen.h.

Referenced by SharedListenResponse(), and Ipc::SharedListenJoined().

◆ mapId

RequestId Ipc::SharedListenResponse::mapId

Definition at line 76 of file SharedListen.h.

Referenced by intendedRecepient(), and Ipc::SharedListenJoined().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors