- Timestamp:
- 06/16/09 16:12:04 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/service_management_layer/ServiceManagementLayer.cpp
r282 r285 133 133 //Also, their sizes are hardcoded into the code in various places; a fix for a future version. 134 134 ServiceManagementLayer::ServiceManagementLayer(const char* SML_Config, \ 135 const char* serverName, const char* serverPort )135 const char* serverName, const char* serverPort, int16_t clientPort) 136 136 { 137 137 LOG("Creating Service Management Layer.\n"); 138 138 _SML_Config = SML_Config; 139 SMLport = clientPort; 139 140 140 141 ConnectToShell(serverName, serverPort); … … 588 589 break; 589 590 } 591 592 LOG("ServiceManagementLayer:: Received Set Active Mission command: %i\n",missID); 590 593 //For each service in the mission 591 594 for(int i = 0; i < miss[activeMission].numServices; i++) … … 620 623 //Nothing to be done for conditionals at this stage 621 624 } 622 625 626 SendMessage(shellSocketFD, "ack"); 623 627 624 628 //printf("\nhere ---%d, %d---\n", miss[activeMission].services[0].componentID, miss[activeMission].services[1].componentID); … … 1278 1282 fd_set sockSet, shellSet; 1279 1283 1280 cogEngSrv = CreateTCPServerSocket( 2044);1284 cogEngSrv = CreateTCPServerSocket(SMLport); 1281 1285 int32_t maxDescriptor = cogEngSrv; 1282 1286