Changeset 39:44eda5bbbdfb in xplra for src/plugin/src/xplra/ServerThread.cc
- Timestamp:
- 02/14/13 16:09:27 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/plugin/src/xplra/ServerThread.cc
r38 r39 39 39 #include "GetMultiDataRefRequest.h" 40 40 #include "SetMultiDataRefRequest.h" 41 #include "ReloadPluginsRequest.h" 41 42 #include "MessageRequest.h" 42 43 … … 153 154 } else if (command==Protocol::COMMAND_GET_VERSIONS) { 154 155 if (!handleGetVersions()) break; 156 } else if (command==Protocol::COMMAND_RELOAD_PLUGINS) { 157 if (!handleReloadPlugins()) break; 155 158 } else if (command==Protocol::COMMAND_SHOW_MESSAGE) { 156 159 if (!handleShowMessage()) break; … … 409 412 //------------------------------------------------------------------------------ 410 413 414 bool ServerThread::handleReloadPlugins() 415 { 416 ReloadPluginsRequest request; 417 if (!requestQueue.execute(&request)) return false; 418 419 stream.writeU8(Protocol::RESULT_OK); 420 421 return true; 422 } 423 424 //------------------------------------------------------------------------------ 425 411 426 bool ServerThread::handleShowMessage() 412 427 {
Note:
See TracChangeset
for help on using the changeset viewer.