network manager listener interface
More...
#include <network_manager_interface.hh>
network manager listener interface
- See also
- INetworkManager
◆ onStatusChanged()
virtual void NuguClientKit::INetworkManagerListener::onStatusChanged |
( |
NetworkStatus |
status | ) |
|
|
virtual |
Report the connection status with the NUGU server.
- Parameters
-
◆ onError()
virtual void NuguClientKit::INetworkManagerListener::onError |
( |
NetworkError |
error | ) |
|
|
virtual |
Report an error while communicating with the NUGU server.
- Parameters
-
◆ onEventSend()
virtual void NuguClientKit::INetworkManagerListener::onEventSend |
( |
NuguEvent * |
nev | ) |
|
|
virtual |
Report that the event will be sent to the server.
- Parameters
-
◆ onEventAttachmentSend()
virtual void NuguClientKit::INetworkManagerListener::onEventAttachmentSend |
( |
NuguEvent * |
nev, |
|
|
int |
seq, |
|
|
bool |
is_end, |
|
|
size_t |
length, |
|
|
unsigned char * |
data |
|
) |
| |
|
virtual |
Report that the attachment will be sent to the server.
- Parameters
-
◆ onEventSendResult()
virtual void NuguClientKit::INetworkManagerListener::onEventSendResult |
( |
const char * |
msg_id, |
|
|
bool |
success, |
|
|
int |
code |
|
) |
| |
|
virtual |
Report the result of sending an event from the server.
- Parameters
-
[in] | msg_id | event message id |
[in] | success | event result |
[in] | code | event result code (similar to http status code) |
◆ onEventResponse()
virtual void NuguClientKit::INetworkManagerListener::onEventResponse |
( |
const char * |
msg_id, |
|
|
const char * |
data, |
|
|
bool |
success |
|
) |
| |
|
virtual |
Report the response data received from the server.
- Parameters
-
[in] | msg_id | event message id |
[in] | data | response raw data (format json) |
[in] | success | event result |
The documentation for this class was generated from the following file: