RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes
Datacratic::AsyncEventSource Struct Reference
Inheritance diagram for Datacratic::AsyncEventSource:
Datacratic::Epoller Datacratic::FullPoller Datacratic::PeriodicEventSource Datacratic::TypedMessageSink< Message > Datacratic::ZmqBinaryEventSource Datacratic::ZmqBinaryTypedEventSource< Arg > Datacratic::ZmqEventSource Datacratic::ZmqBinaryTypedEventSource< zmq_event_t >

List of all members.

Public Member Functions

virtual int selectFd () const
virtual bool poll () const
virtual bool processOne ()=0
virtual bool singleThreaded () const
virtual void debug (bool debugOn)
virtual void connected (MessageLoop *parent)
void disconnect ()

Public Attributes

bool needsPoll
bool debug_
MessageLoopparent_

Detailed Description

Definition at line 25 of file async_event_source.h.


Member Function Documentation

virtual void Datacratic::AsyncEventSource::connected ( MessageLoop parent) [inline, virtual]

Notify that the given message loop is responsible.

Definition at line 81 of file async_event_source.h.

virtual void Datacratic::AsyncEventSource::debug ( bool  debugOn) [inline, virtual]

Sets whether or not it is in debug mode.

Reimplemented in Datacratic::MessageLoop.

Definition at line 75 of file async_event_source.h.

Disconnect from the parent message loop.

Reimplemented in Datacratic::ZmqNamedProxy, and Datacratic::ZmqNamedSocket.

Definition at line 22 of file async_event_source.cc.

virtual bool Datacratic::AsyncEventSource::poll ( ) const [inline, virtual]
virtual bool Datacratic::AsyncEventSource::processOne ( ) [pure virtual]
virtual int Datacratic::AsyncEventSource::selectFd ( ) const [inline, virtual]
virtual bool Datacratic::AsyncEventSource::singleThreaded ( ) const [inline, virtual]

Return whether the callbacks need to be called from a single thread or not.

Reimplemented in Datacratic::PeriodicEventSource.

Definition at line 69 of file async_event_source.h.


Member Data Documentation

Sets whether this event handler is being debugged.

Definition at line 98 of file async_event_source.h.

Sets whether or not this source requires polling periodically (as the selectFd may not include all events).

Definition at line 95 of file async_event_source.h.

The parent message loop.

Definition at line 101 of file async_event_source.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator