Changeset 2454 for source/ariba/communication
- Timestamp:
- Feb 18, 2009, 1:39:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/EndpointDescriptor.cpp
r2452 r2454 92 92 string ip = nav[i][robject_data].str(); 93 93 ip = ip.substr(1,ip.size()-2); 94 cout << "ep-ip = " << ip << endl;94 cout << "ep-ip = " << ip << endl; 95 95 ep = new EndpointDescriptor(); 96 96 ep->locator = new IPv4Locator(); 97 cout << "1" << endl; 97 98 ep->locator->setIP(ip); 99 cout << "2" << endl; 98 100 ep->isUnspec = false; 101 cout << "3" << endl; 99 102 } else 100 103 if (type=="tcp") { 104 cout << "4" << endl; 101 105 string port = nav[i][robject_data][rfields][1].str(); 102 106 port = port.substr(1,port.size()-2); 103 107 cout << "ep-tcp-port = " << port << endl; 108 cout << "5" << endl; 104 109 ep->locator->setPort(stoi(port)); 105 110 }
Note:
See TracChangeset
for help on using the changeset viewer.