#include <socket.h>
Inherits impulse::Frame.
Public Member Functions | |
Socket (string host, string protocol) | |
void | initSlots () |
string | inspect () |
addrinfo * | getInfo (string host, string protocol) |
void | send (const char *data) |
void | send (const void *data, int length) |
string | receive () |
Protected Member Functions | |
Value | _test (Array &args, Value self) |
Value | _setSlot_ (Array &args, Value self) |
impulse::Socket::Socket | ( | string | host, | |
string | protocol | |||
) | [inline] |
void impulse::Socket::initSlots | ( | ) | [inline, virtual] |
Reimplemented from impulse::Frame.
string impulse::Socket::inspect | ( | ) | [inline, virtual] |
Reimplemented from impulse::Frame.
addrinfo* impulse::Socket::getInfo | ( | string | host, | |
string | protocol | |||
) | [inline] |
void impulse::Socket::send | ( | const char * | data | ) | [inline] |
void impulse::Socket::send | ( | const void * | data, | |
int | length | |||
) | [inline] |
string impulse::Socket::receive | ( | ) | [inline] |