| 71 | } |
| 72 | |
| 73 | void WebSocketInteractionCommand::updateWriteCheck() |
| 74 | { |
| 75 | if (socket_->wantWrite() || wsSession_->wantWrite()) { |
| 76 | if (!writeCheck_) { |
| 77 | writeCheck_ = true; |
| 78 | e_->addSocketForWriteCheck(socket_, this); |
| 79 | } |
| 80 | } |
| 81 | else if (writeCheck_) { |
| 82 | writeCheck_ = false; |
| 83 | e_->deleteSocketForWriteCheck(socket_, this); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | bool WebSocketInteractionCommand::execute() |
| 88 | { |
nothing calls this directly
no test coverage detected