Add support for clock ticks
This commit is contained in:
@@ -186,8 +186,10 @@ void DrivenEngine::drv_recv_incoming(int chid, int nbytes, const char *bytes) {
|
||||
}
|
||||
}
|
||||
|
||||
void DrivenEngine::drv_notify_close(int chid) {
|
||||
get_chid(chid)->closed_ = true;
|
||||
void DrivenEngine::drv_notify_close(int chid, const std::string &err) {
|
||||
Channel *ch = get_chid(chid);
|
||||
ch->closed_ = true;
|
||||
ch->error_ = err;
|
||||
}
|
||||
|
||||
int DrivenEngine::drv_notify_accept(int port) {
|
||||
|
||||
Reference in New Issue
Block a user