|
typedef socop_read_byte_t | Bytereader |
|
typedef socop_write_byte_t | Bytewriter |
|
enum | Result {
Ok = SOCOP_OK
, Error = SOCOP_ERROR
, Error_NotImpl = SOCOP_ERROR_NOTIMPL
, Error_IO = SOCOP_ERROR_IO
,
Error_Timeout = SOCOP_ERROR_TIMEOUT
, Error_InvalidData = SOCOP_ERROR_INVALIDDATA
, Error_OutOfBounds = SOCOP_ERROR_OUTOFBOUNDS
, Error_WrongMessage = SOCOP_ERROR_WRONGMESSAGE
,
Error_ResourceError = SOCOP_ERROR_RESOURCEERROR
, Error_Corruption = SOCOP_ERROR_CORRUPTION
, Error_InvalidArg = SOCOP_ERROR_INVALIDARG
, Error_Failed = SOCOP_ERROR_FAILED
} |
|
enum | Flags { Flag_Receive = SOCOP_MSG_FLAG_RECV
, Flag_Send = SOCOP_MSG_FLAG_SEND
, Flag_Error = SOCOP_MSG_FLAG_ERROR
} |
|
typedef socop_socket_t | Socket |
|
typedef socop_addr_t | Address |
|
typedef socop_word_t | word_t |
|
|
| SocopDriver (Bytereader reader_function, void *reader_param, Bytewriter writer_function, void *writer_param) |
|
|
virtual Socop::Result | do_read (unsigned char &received_byte, bool want_more) |
|
virtual Socop::Result | do_write (unsigned char byte_to_send, bool send_more) |
|
|
static int | do_read_dispatcher (unsigned char *num, unsigned want_more, void *user_param) |
|
static int | do_write_dispatcher (unsigned char num, unsigned send_more, void *user_param) |
|
static Result | translate_result (int result) |
|
static int | translate_result (Result result) |
|
|
socop_read_byte_t | read_byte |
|
void * | read_param |
|
socop_write_byte_t | write_byte |
|
void * | write_param |
|
The documentation for this class was generated from the following files:
- src/gate/interfaces/socop.hpp
- src/gate/interfaces/socop_impl.hpp