|
libktorrent
2.1.1
|
#include <pollpipe.h>

Public Types | |
| typedef QSharedPointer< PollPipe > | Ptr |
Public Types inherited from net::WakeUpPipe | |
| typedef QSharedPointer< WakeUpPipe > | Ptr |
Public Types inherited from net::PollClient | |
| typedef QSharedPointer< PollClient > | Ptr |
Public Member Functions | |
| PollPipe (net::Poll::Mode mode) | |
| bool | polling () const |
| Is the pipe being polled. | |
| bool | polling (bt::Uint16 conn) const |
| Are we polling a connection. | |
| net::Poll::Mode | pollingMode () const |
| Polling mode. | |
| void | prepare (net::Poll *p, bt::Uint16 conn_id, PollPipe::Ptr self) |
| Prepare the poll. | |
| void | reset () override |
| Reset the poll_index. | |
Public Member Functions inherited from net::WakeUpPipe | |
| int | fd () const override |
| Get the filedescriptor to poll. | |
| void | handleData () override |
| Read all the dummy data. | |
| virtual void | wakeUp () |
| Wake up the other socket. | |
| bool | wokenUp () const |
| Have we been woken up. | |
Public Member Functions inherited from bt::Pipe | |
| int | read (Uint8 *buffer, int max_len) |
| Read data from the read end of the pipe. | |
| int | readerSocket () const |
| Get the reader socket. | |
| int | write (const Uint8 *data, int len) |
| Write data to the write end of the pipe. | |
| int | writerSocket () const |
| Get the writer socket. | |
Additional Inherited Members | |
Protected Attributes inherited from net::WakeUpPipe | |
| QMutex | mutex |
| bool | woken_up |
Protected Attributes inherited from bt::Pipe | |
| int | reader |
| int | writer |
Special wake up pipe for UTP polling
Definition at line 53 of file pollpipe.h.
1.8.18