Changes between Version 13 and Version 14 of VirtualBox
- Timestamp:
- May 18, 2009, 12:43:36 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VirtualBox
v13 v14 245 245 the first single word of the exchanged STOMP messages. 246 246 247 It is the !MsgInterpreterclass responsability to "interpret"247 It is the `MsgInterpreter` class responsability to "interpret" 248 248 the incoming STOMP messages and hence route them towards 249 249 the appropriate "word" in order to perform the corresponding … … 276 276 277 277 {{{ 278 279 280 }}} 281 282 {{{ 283 284 278 HEADERS: 279 cmd-id: the execution unique id this msg replies to 280 }}} 281 282 {{{ 283 BODY: 284 CMD_RESULTS <json-ed dict. of results> 285 285 }}} 286 286 … … 290 290 291 291 {{{ 292 293 294 295 296 297 298 299 300 301 292 results: 293 { 294 'cmd-id': same as in the word headers 295 'out': stdout of the command 296 'err': stderr of the command 297 'finished': boolean. Did the command finish or was it signaled? 298 'exitCodeOrSignal': if finished, its exit code. Else, the 299 interrupting signal 300 'resources': dictionary of used resources as reported by Python's resource module 301 } 302 302 }}} 303 303 … … 308 308 309 309 {{{ 310 311 312 }}} 313 314 {{{ 315 316 310 HEADERS: 311 ip: the VM's unique IP. 312 }}} 313 314 {{{ 315 BODY: 316 HELLO (resp. BYE) 317 317 }}} 318 318 … … 323 323 324 324 {{{ 325 326 327 }}} 328 329 {{{ 330 331 325 HEADERS: 326 ip: the VM's unique IP. 327 }}} 328 329 {{{ 330 BODY: 331 STILL_ALIVE 332 332 }}} 333 333 … … 381 381 Classes with a yellow background are support the underlying STOMP 382 382 architecture. 383 ` !CmdExecuter` deals with the bookkeeping involved in the execution of384 commands. ` !MsgInterpreter` takes care of routing the messages received by383 `CmdExecuter` deals with the bookkeeping involved in the execution of 384 commands. `MsgInterpreter` takes care of routing the messages received by 385 385 either the host agent or the VMs to the appropriate `word`. This architecture 386 386 makes it extremely easy to extend the functionalities: just add a new `word` … … 466 466 querying on-the-fly while the process is still running. 467 467 468 469