#include <socket.h>
◆ State
Enumerator |
---|
Invalid | |
Idle | |
HostLookup | |
Connecting | |
Listening | |
Connection | |
Closing | |
◆ eSocket() [1/2]
eSocket::eSocket |
( |
eMainloop * |
ml, |
|
|
int |
domain = AF_INET |
|
) |
| |
◆ eSocket() [2/2]
eSocket::eSocket |
( |
int |
socket, |
|
|
int |
issocket, |
|
|
eMainloop * |
ml |
|
) |
| |
◆ ~eSocket()
◆ bytesAvailable()
int eSocket::bytesAvailable |
( |
| ) |
|
◆ bytesToWrite()
int eSocket::bytesToWrite |
( |
| ) |
|
◆ canReadLine()
bool eSocket::canReadLine |
( |
| ) |
|
◆ close()
◆ connectToHost()
int eSocket::connectToHost |
( |
std::string |
hostname, |
|
|
int |
port |
|
) |
| |
◆ disableRead()
void eSocket::disableRead |
( |
| ) |
|
◆ enableRead()
void eSocket::enableRead |
( |
| ) |
|
◆ getDescriptor()
int eSocket::getDescriptor |
( |
| ) |
|
◆ inject()
void eSocket::inject |
( |
const char * |
data, |
|
|
int |
len |
|
) |
| |
◆ notifier()
void eSocket::notifier |
( |
int |
what | ) |
|
|
protectedvirtual |
◆ readBlock()
int eSocket::readBlock |
( |
char * |
data, |
|
|
unsigned int |
maxlen |
|
) |
| |
◆ readLine()
std::string eSocket::readLine |
( |
| ) |
|
◆ setSocket()
int eSocket::setSocket |
( |
int |
socketfd, |
|
|
int |
issocket, |
|
|
eMainloop * |
ml |
|
) |
| |
◆ state()
◆ writeBlock()
int eSocket::writeBlock |
( |
const char * |
data, |
|
|
unsigned int |
len |
|
) |
| |
◆ bytesWritten_
sigc::signal1<void,int> eSocket::bytesWritten_ |
◆ connected_
sigc::signal0<void> eSocket::connected_ |
◆ connectionClosed_
sigc::signal0<void> eSocket::connectionClosed_ |
◆ error_
sigc::signal1<void,int> eSocket::error_ |
◆ hangup
sigc::signal0<void> eSocket::hangup |
◆ mainloop
◆ mystate
◆ readyRead_
sigc::signal0<void> eSocket::readyRead_ |
◆ rsn
◆ socketdesc
The documentation for this class was generated from the following files: