Lines Matching defs:it2

228 				PortForwardRequestList::iterator it2 = it->second.begin();
229 for (; it2 != it->second.end(); it2++) {
230 delete *it2;
283 PortForwardRequestList::iterator it2 = it->second.begin();
285 for (; it2 != it->second.end(); it2++) {
286 if (((*it2)->GetStatus() != PortForwardRequest::NOT_ACTIVE) &&
287 ((*it2)->GetBindedAddress().compare(address) == 0)) {
423 PortForwardRequestList::iterator it2 = it->second.begin();
425 for (; it2 != it->second.end(); it2++) {
426 if (((*it2)->GetStatus() == PortForwardRequest::LISTENING) &&
427 (1 == (*it2)->IsConnectionPermitted(this, s_new))) {
428 portForwardRequest = *it2;
711 PortForwardRequestList::iterator it2 = it->second.begin();
712 for (; it2 != it->second.end(); it2++) {
713 if ((*it2) == p) {
719 if ((*it2)->GetStatus() == PortForwardRequest::NOT_ACTIVE) {
721 SOCKET serverSocket = (*it2)->GetListeningSocket();
722 delete (*it2);
723 it->second.erase(it2);
1166 PortForwardRequestList::iterator it2 = it->second.begin();
1167 for (; it2 != it->second.end(); it2++) {
1168 if (((*it2)->GetBindedAddress().compare(tcpFwdCnclMsg->Address) == 0) &&
1169 //((*it2)->GetPort() == tcpFwdCnclMsg->Port)) {
1170 ((*it2)->GetStatus() != PortForwardRequest::NOT_ACTIVE)) {
1177 (*it2)->SetStatus(PortForwardRequest::NOT_ACTIVE);
1178 if ((*it2)->GetChannelCount() == 0) {
1179 _closePortForwardRequest(*it2);
1458 for (PortForwardRequestList::iterator it2 = it->second.begin();
1459 it2 != it->second.end(); it2++) {
1461 if ((*it2)->GetStatus() == PortForwardRequest::PENDING_REQUEST) {
1462 (*it2)->SetStatus(PortForwardRequest::LISTENING);
1499 // for (PortForwardRequestList::iterator it2 = it->second.begin();
1500 // it2 != it->second.end(); it2++) {
1502 // if ((*it2)->GetStatus() == PortForwardRequest::PENDING_REQUEST) {
1503 // (*it2)->SetStatus(PortForwardRequest::LISTENING);