Dobby 3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
NullSink Class Reference
Inheritance diagram for NullSink:
Inheritance graph
[legend]
Collaboration diagram for NullSink:
Collaboration graph
[legend]

Public Member Functions

 NullSink (const std::string &containerId, std::shared_ptr< rt_dobby_schema > &containerConfig)
 
void DumpLog (const int bufferFd) override
 
void process (const std::shared_ptr< AICommon::IPollLoop > &pollLoop, epoll_event event) override
 

Private Attributes

int mDevNullFd
 
const std::shared_ptr< rt_dobby_schema > mContainerConfig
 
const std::string mContainerId
 
char mBuf [PTY_BUFFER_SIZE]
 
std::mutex mLock
 

Member Function Documentation

◆ DumpLog()

void NullSink::DumpLog ( const int  bufferFd)
overridevirtual

Implements ILoggingSink.

◆ process()

void NullSink::process ( const std::shared_ptr< AICommon::IPollLoop > &  pollLoop,
epoll_event  event 
)
overridevirtual

Implements AICommon::IPollSource.


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