XmlRpc++: XmlRpc::XmlRpcSource Class Reference

# XmlRpc::XmlRpcSource Class Reference

An RPC source represents a file descriptor to monitor. More...

`#include <XmlRpcSource.h>`

Inheritance diagram for XmlRpc::XmlRpcSource:

List of all members.

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

## Detailed Description

An RPC source represents a file descriptor to monitor.

## Constructor & Destructor Documentation

XmlRpc::XmlRpcSource::XmlRpcSource | ( | int | fd = `-1`,
|  | bool | deleteOnClose = `false` |
| ) |  |  |

Constructor.

Parameters:

  | fd | The socket file descriptor to monitor.
  | deleteOnClose | If true, the object deletes itself when close is called.

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

- XmlRpcSource.h
- XmlRpcSource.cpp