#include <XmlRpcSource.h>
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. |
XmlRpc::XmlRpcSource::XmlRpcSource | ( | int | fd = -1 , |
|
bool | deleteOnClose = false | |||
) |
Constructor.
fd | The socket file descriptor to monitor. | |
deleteOnClose | If true, the object deletes itself when close is called. |