W60X_Arduino
|
ClientContext Class Reference
Public Member Functions | |
ClientContext (tcp_pcb *pcb, discard_cb_t discard_cb, void *discard_cb_arg) | |
err_t | abort () |
err_t | close () |
ClientContext * | next () const |
ClientContext * | next (ClientContext *new_next) |
void | ref () |
void | unref () |
int | connect (ip_addr_t *addr, uint16_t port) |
size_t | availableForWrite () |
void | setNoDelay (bool nodelay) |
bool | getNoDelay () |
void | setTimeout (int timeout_ms) |
int | getTimeout () |
uint32_t | getRemoteAddress () |
uint16_t | getRemotePort () |
uint32_t | getLocalAddress () |
uint16_t | getLocalPort () |
size_t | getSize () const |
char | read () |
size_t | read (char *dst, size_t size) |
char | peek () |
size_t | peekBytes (char *dst, size_t size) |
void | discard_received () |
void | wait_until_sent () |
uint8_t | state () const |
size_t | write (const uint8_t *data, size_t size) |
size_t | write (Stream &stream) |
size_t | write_P (PGM_P buf, size_t size) |
void | keepAlive (uint16_t idle_sec=TCP_DEFAULT_KEEPALIVE_IDLE_SEC, uint16_t intv_sec=TCP_DEFAULT_KEEPALIVE_INTERVAL_SEC, uint8_t count=TCP_DEFAULT_KEEPALIVE_COUNT) |
bool | isKeepAliveEnabled () const |
uint16_t | getKeepAliveIdle () const |
uint16_t | getKeepAliveInterval () const |
uint8_t | getKeepAliveCount () const |
Protected Member Functions | |
bool | _is_timeout () |
void | _notify_error () |
size_t | _write_from_source (DataSource *ds) |
bool | _write_some () |
void | _write_some_from_cb () |
err_t | _acked (tcp_pcb *pcb, uint16_t len) |
void | _consume (size_t size) |
err_t | _recv (tcp_pcb *pcb, pbuf *pb, err_t err) |
void | _error (err_t err) |
err_t | _connected (struct tcp_pcb *pcb, err_t err) |
err_t | _poll (tcp_pcb *) |
Generated by 1.8.14