Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Working on setChannelPipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
danbim committed Dec 10, 2013
1 parent 993bfbc commit b785ad3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions wisebed.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,22 @@ var Wisebed = function(baseUri, webSocketBaseUri) {
});
};

this.setChannelPipelines = function(reservationId, nodeUrns, handlers, callbackDone, callbackError) {
$.ajax({
url : getBaseUri() + "/experiments/" + encodeURIComponent(reservationId) + "/setChannelPipelines",
type : "POST",
data : JSON.stringify({
nodeUrns : nodeUrns,
handlers : handlers
}, null, ' '),
contentType : "application/json; charset=utf-8",
dataType : "json",
success : function(data) {callbackDone(data);},
error : callbackError,
xhrFields : { withCredentials: true }
});
};

this.flashNodes = function(reservationId, data, callbackDone, callbackProgress, callbackError) {

function getAllNodeUrnsFromRequestData(data) {
Expand Down

0 comments on commit b785ad3

Please sign in to comment.