Public Member Functions | Public Attributes | List of all members
MockSource Class Reference
Inheritance diagram for MockSource:
Inheritance graph
[legend]

Public Member Functions

virtual void close ()
 Close the owned fd. If deleteOnClose was specified at construction, the object is deleted. More...
 
virtual unsigned handleEvent (unsigned eventType)
 Return true to continue monitoring this source. More...
 
 MockSource (int fd)
 
virtual ~MockSource ()
 
- Public Member Functions inherited from XmlRpc::XmlRpcSource
int getfd () const
 Return the file descriptor being monitored. More...
 
bool getKeepOpen () const
 Return whether the file descriptor should be kept open if it is no longer monitored. More...
 
void setfd (int fd)
 Specify the file descriptor to monitor. More...
 
void setKeepOpen (bool b=true)
 Specify whether the file descriptor should be kept open if it is no longer monitored. More...
 
 XmlRpcSource (int fd=-1, bool deleteOnClose=false)
 
virtual ~XmlRpcSource ()
 Destructor. More...
 

Public Attributes

int close_calls
 
unsigned event_result
 
int handleEvent_calls
 
unsigned last_event
 

Detailed Description

Definition at line 111 of file test_dispatch.cpp.

Constructor & Destructor Documentation

MockSource::MockSource ( int  fd)
inline

Definition at line 113 of file test_dispatch.cpp.

virtual MockSource::~MockSource ( )
inlinevirtual

Definition at line 118 of file test_dispatch.cpp.

Member Function Documentation

virtual void MockSource::close ( )
inlinevirtual

Close the owned fd. If deleteOnClose was specified at construction, the object is deleted.

Reimplemented from XmlRpc::XmlRpcSource.

Definition at line 127 of file test_dispatch.cpp.

virtual unsigned MockSource::handleEvent ( unsigned  eventType)
inlinevirtual

Return true to continue monitoring this source.

Implements XmlRpc::XmlRpcSource.

Definition at line 121 of file test_dispatch.cpp.

Member Data Documentation

int MockSource::close_calls

Definition at line 136 of file test_dispatch.cpp.

unsigned MockSource::event_result

Definition at line 134 of file test_dispatch.cpp.

int MockSource::handleEvent_calls

Definition at line 132 of file test_dispatch.cpp.

unsigned MockSource::last_event

Definition at line 133 of file test_dispatch.cpp.


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


xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix
autogenerated on Sun Feb 3 2019 03:29:51