An X11 Display connection wrapper. More...
#include <X11Connection.h>


Public Member Functions | |
| X11Connection (GLXPipe *pipe_) | |
| virtual Notifier | getNotifier () const |
Public Attributes | |
| GLXPipe *const | pipe |
Protected Member Functions | |
| virtual void | readNB (void *buffer, const uint64_t bytes) |
| Start a read operation on the connection. | |
| virtual int64_t | readSync (void *buffer, const uint64_t bytes) |
| Finish reading data from the connection. | |
| virtual int64_t | write (const void *buffer, const uint64_t bytes) |
| Write data to the connection. | |
An X11 Display connection wrapper.
This class is used to monitor multiple GLXPipe X11 display connections for events using a net::ConnectionSet.
For internal use only.
Definition at line 39 of file X11Connection.h.
| virtual Notifier eq::X11Connection::getNotifier | ( | ) | const [inline, virtual] |
Reimplemented from eq::net::Connection.
Definition at line 55 of file X11Connection.h.
References eq::GLXPipe::getXDisplay().

| virtual void eq::X11Connection::readNB | ( | void * | buffer, | |
| const uint64_t | bytes | |||
| ) | [inline, protected, virtual] |
Start a read operation on the connection.
This method is the low-level counterpart to recvNB().
This function returns immediately. The operation's Notifier will signal data availability, upon which readSync() should be used to finish the operation.
| buffer | the buffer receiving the data. | |
| bytes | the number of bytes to read. |
Implements eq::net::Connection.
Definition at line 64 of file X11Connection.h.
| virtual int64_t eq::X11Connection::readSync | ( | void * | buffer, | |
| const uint64_t | bytes | |||
| ) | [inline, protected, virtual] |
Finish reading data from the connection.
This method is the low-level counterpart to recvSync(). It may return with a partial read.
| buffer | the buffer receiving the data. | |
| bytes | the number of bytes to read. |
Implements eq::net::Connection.
Definition at line 66 of file X11Connection.h.
| virtual int64_t eq::X11Connection::write | ( | const void * | buffer, | |
| const uint64_t | bytes | |||
| ) | [inline, protected, virtual] |
Write data to the connection.
| buffer | the buffer containing the message. | |
| bytes | the number of bytes to write. |
Implements eq::net::Connection.
Definition at line 68 of file X11Connection.h.
0.9.1 by
1.6.1