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 62 of file SharedListen.h.

Constructor & Destructor Documentation

◆ SharedListenResponse() [1/2]

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

Definition at line 93 of file SharedListen.cc.

◆ SharedListenResponse() [2/2]

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

Member Function Documentation

◆ intendedRecepient()

QuestionerId Ipc::SharedListenResponse::intendedRecepient ( ) const

Definition at line 70 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 74 of file SharedListen.h.

Referenced by Ipc::SharedListenJoined().

◆ fd

int Ipc::SharedListenResponse::fd

Definition at line 73 of file SharedListen.h.

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

◆ mapId

RequestId Ipc::SharedListenResponse::mapId

Definition at line 75 of file SharedListen.h.

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

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






Web Site Translations