ClickSocketObserver (ClickSocket& cs)
| ClickSocketObserver |
~ClickSocketObserver ()
| ~ClickSocketObserver |
[virtual]
void clsock_data (const uint8_t* data, size_t nbytes)
| clsock_data |
[pure virtual]
Receive data from the Click socket.
Note that this method is called asynchronously when the Click socket has data to receive, therefore it should never be called directly by anything else except the Click socket facility itself.
Parameters:
data | the buffer with the received data. |
nbytes | the number of bytes in the data buffer. |
ClickSocket& click_socket ()
| click_socket |
Get ClickSocket associated with Observer.