Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
otm:ordering_of_messages:fifo [2011/06/27 05:25] aspectscript |
otm:ordering_of_messages:fifo [2012/02/06 17:16] aspectscript |
||
---|---|---|---|
Line 17: | Line 17: | ||
<code javascript> | <code javascript> | ||
var FIFO = function(jp){ | var FIFO = function(jp){ | ||
- | var request = jp . target ; | + | var request = jp.target ; |
if (this.idServerRespExpected != request.idServerResp){ | if (this.idServerRespExpected != request.idServerResp){ | ||
this.jpsQueue.push(jp) ; | this.jpsQueue.push(jp) ; | ||
Line 25: | Line 25: | ||
this.idServerRespExpected = request.idServerResp + 1; | this.idServerRespExpected = request.idServerResp + 1; | ||
// executing jp proceeds that can be executed now | // executing jp proceeds that can be executed now | ||
- | | + | |
} | } | ||
} | } |