The Pedigree Project 0.1
Classes | Private Attributes | Friends | List of all members
UnixSocketConnection Class Reference

#include <UnixFilesystem.h>

+ Collaboration diagram for UnixSocketConnection:

Classes

class  Stream
 

Private Attributes

Stream m_FirstStream
 
Stream m_SecondStream
 
bool m_Active
 
bool m_Failed
 
bool m_Closed [2]
 
bool m_ReadShutdown [2]
 
bool m_WriteShutdown [2]
 
struct ucred m_Creds [2]
 

Friends

class UnixSocket
 

Detailed Description

Shared storage for a connected streaming socket pair.

Keeping the byte streams independent of either endpoint means a concurrent close cannot leave the surviving endpoint dereferencing a freed peer.

Definition at line 91 of file UnixFilesystem.h.

Constructor & Destructor Documentation

◆ UnixSocketConnection()

UnixSocketConnection::UnixSocketConnection ( )

Definition at line 455 of file UnixFilesystem.cc.

Friends And Related Symbol Documentation

◆ UnixSocket

friend class UnixSocket
friend

Definition at line 92 of file UnixFilesystem.h.

Member Data Documentation

◆ m_Active

bool UnixSocketConnection::m_Active
private

Definition at line 163 of file UnixFilesystem.h.

◆ m_Closed

bool UnixSocketConnection::m_Closed[2]
private

Definition at line 165 of file UnixFilesystem.h.

◆ m_Creds

struct ucred UnixSocketConnection::m_Creds[2]
private

Definition at line 168 of file UnixFilesystem.h.

◆ m_Failed

bool UnixSocketConnection::m_Failed
private

Definition at line 164 of file UnixFilesystem.h.

◆ m_FirstStream

Stream UnixSocketConnection::m_FirstStream
private

Definition at line 161 of file UnixFilesystem.h.

◆ m_ReadShutdown

bool UnixSocketConnection::m_ReadShutdown[2]
private

Definition at line 166 of file UnixFilesystem.h.

◆ m_SecondStream

Stream UnixSocketConnection::m_SecondStream
private

Definition at line 162 of file UnixFilesystem.h.

◆ m_WriteShutdown

bool UnixSocketConnection::m_WriteShutdown[2]
private

Definition at line 167 of file UnixFilesystem.h.


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