#include <X11Connection.h>


Public Member Functions | |
| X11Connection (GLXPipe *pipe_) | |
| Display * | getDisplay () const |
| 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. | |
Definition at line 35 of file X11Connection.h.
| virtual Notifier eq::X11Connection::getNotifier | ( | ) | const [inline, virtual] |
Reimplemented from eq::net::Connection.
Definition at line 53 of file X11Connection.h.
| 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 59 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 61 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 63 of file X11Connection.h.
0.9 by
1.5.8