Lines Matching refs:Channel
165 Channel *Protocol::_getSockOpenChannel(SOCKET s)
451 Channel *c = new Channel(portForwardRequest, s_new);
452 c->SetStatus(Channel::OPEN);
460 Channel *c = new Channel(portForwardRequest, s_new);
461 c->SetStatus(Channel::NOT_OPENED);
516 if ((it->second->GetStatus() == Channel::OPEN) &&
592 Channel *c = NULL;
601 Channel *cx = _getSockOpenChannel(s);
611 c = new Channel(*cx);
652 Channel *cx = _getSockOpenChannel(s);
668 cx->SetStatus(Channel::WAITING_CLOSE);
938 it->second->SetStatus(Channel::OPEN);
1259 Channel *c = new Channel(NULL, s);
1262 c->SetStatus(Channel::OPEN);
1273 PortForwardRequest *Protocol::_closeMChannel(Channel *c)
1297 PRINT("Channel open request was refused. Reason code: 0x%02x reason.\n",
1312 Channel *c = it->second;
1314 case Channel::OPEN:
1315 c->SetStatus(Channel::CLOSED);
1317 PRINT("Channel %d was closed by AMT.\n", c->GetSenderChannel());
1320 case Channel::WAITING_CLOSE:
1324 case Channel::CLOSED:
1325 case Channel::NOT_OPENED:
1348 if ((it->second->GetStatus() != Channel::OPEN) &&
1349 (it->second->GetStatus() != Channel::WAITING_CLOSE)) {
1368 PRINT("Channel send data request was refused. Broken pipe.\n");
1372 //if (it->second->GetRxWindow() < Channel::LMS_WINDOW_SIZE / 2) {
1374 //Channel::LMS_WINDOW_SIZE - it->second->GetRxWindow());