Changeset 11047 for trunk/FACT++/src
- Timestamp:
- 06/16/11 21:54:56 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/LocalControl.h
r11045 r11047 98 98 99 99 if (state==-100) 100 { 101 lout << kRed << "Couldn't parse state id." << endl; 100 102 return true; 103 } 101 104 102 105 const Time timeout = Time()+boost::posix_time::millisec(ms); … … 105 108 while (fStateMachine->GetCurrentState()!=target && timeout>Time()) 106 109 usleep(1); 110 107 111 return true; 108 112 } -
trunk/FACT++/src/RemoteControl.h
r11045 r11047 182 182 in >> server >> state >> ms; 183 183 if (state==-100) 184 { 185 lout << kRed << "Couldn't parse state id." << endl; 184 186 return true; 187 } 185 188 186 189 const ClientList::const_iterator l = fClientList.find(server); 187 190 if (l==fClientList.end()) 191 { 192 lout << kRed << "Server '" << server << "' not found." << endl; 188 193 return true; 194 } 189 195 190 196 const Time timeout = Time()+boost::posix_time::millisec(ms);
Note:
See TracChangeset
for help on using the changeset viewer.