Logo Search packages:      
Sourcecode: pan version File versions  Download package

pan::Socket Class Reference
[Tasks]

#include <socket.h>

Inheritance diagram for pan::Socket:

pan::GIOChannelSocket pan::ScriptedSocket

List of all members.


Detailed Description

Defines primitive interactions with a remote server: Send command, read response, send command, read response.

Definition at line 35 of file socket.h.


Public Member Functions

double get_speed_KiBps () const
bool is_abort_set () const
virtual bool open (const StringView &address, int port)=0
void reset_speed_counter ()
void set_abort_flag (bool b)
virtual void write_command (const StringView &chars, Listener *)=0
void write_command_va (Listener *, const char *fmt,...)

Protected Member Functions

void increment_xfer_byte_count (unsigned long byte_count)

Protected Attributes

bool _abort_flag
unsigned long _byte_count
time_t _time_started

Classes

struct  Creator
struct  Listener

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

Generated by  Doxygen 1.6.0   Back to index