54 const char* peer_to_reconnect);
PblMap * map
Hash Map to store reconnect requests.
Definition: net_recon.h:27
int(* sendAnswer)(ksnReconnectClass *rec, const char *peer, const char *peer_to_reconnect)
Send CMD_RECONNECT_ANSWER command to r-host.
Definition: net_recon.h:53
void * kco
Pointer to ksnCommandClass.
Definition: net_recon.h:26
ksnCQueCallback callback
CallbackQueue callback.
Definition: net_recon.h:86
void(* ksnCQueCallback)(uint32_t id, int type, void *data)
ksnCQue callback function definition
Definition: cque.h:34
KSNet core received data structure.
Definition: net_com.h:107
void(* destroy)(ksnReconnectClass *rec)
Destroy ksnReconnectClass.
Definition: net_recon.h:93
int(* send)(ksnReconnectClass *rec, const char *peer)
Send CMD_RECONNECT command to r-host.
Definition: net_recon.h:40
int(* processAnswer)(ksnReconnectClass *rec, ksnCorePacketData *rd)
Process CMD_RECONNECT_ANSWER command.
Definition: net_recon.h:76
ksnReconnectClass * ksnReconnectInit(void *kco)
Initialize ksnReconnectClass.
Definition: net_recon.c:350
int(* process)(ksnReconnectClass *rec, ksnCorePacketData *rd)
Process CMD_RECONNECT command.
Definition: net_recon.h:65
ksnReconnectClass definition
Definition: net_recon.h:23