Changeset 11695 for trunk/FACT++/dim/src/examples
- Timestamp:
- 07/29/11 09:54:56 (13 years ago)
- Location:
- trunk/FACT++/dim/src/examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/examples/test_client.cxx
r11071 r11695 39 39 index++; 40 40 } 41 int inCallback = DimClient::inCallback(); 42 cout << "infoHandler: In callback "<< inCallback << endl; 41 43 } 42 44 public : … … 83 85 cout << "Current INTVAL : " << servint.getInt() << endl; 84 86 DimClient::sendCommand("TEST/CMND","UPDATE_STRVAL"); 87 int inCallback = DimClient::inCallback(); 88 cout << "main: In callback "<< inCallback << endl; 89 90 DimClient::addErrorHandler(0); 85 91 } 86 92 return 0; -
trunk/FACT++/dim/src/examples/test_server.cxx
r11071 r11695 183 183 } 184 184 */ 185 186 185 while(1) 187 186 { 188 187 sleep(5); 188 189 189 /* 190 190 while(cmdsvr.hasNext()) … … 200 200 boolval = 0; 201 201 ival++; 202 203 int inCallback = DimServer::inCallback(); 204 cout << "main: In callback "<< inCallback << endl; 202 205 servint.updateService(); 203 206 if(extraDns)
Note:
See TracChangeset
for help on using the changeset viewer.