| 230 | } |
| 231 | |
| 232 | int UdpSessionNtfy::HangupNotify() |
| 233 | { |
| 234 | MtFrame* frame = MtFrame::Instance(); |
| 235 | frame->KqueueCtrlDel(this->GetOsfd(), this->GetEvents()); |
| 236 | |
| 237 | MTLOG_ERROR("sesson obj %p, recv error event. fd %d", this, this->GetOsfd()); |
| 238 | |
| 239 | CloseSocket(); |
| 240 | |
| 241 | CreateSocket(); |
| 242 | |
| 243 | return 0; |
| 244 | } |
| 245 | |
| 246 | int UdpSessionNtfy::KqueueCtlAdd(void* args) |
| 247 | { |
nothing calls this directly
no test coverage detected