summaryrefslogtreecommitdiff
path: root/js/src/Ice/RetryQueue.js
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-12-14 14:02:37 -0500
committerBernard Normier <bernard@zeroc.com>2016-12-14 14:02:37 -0500
commit006bdff840ed5c834a6640c1690844d38cdafff4 (patch)
tree8116d1c1bb38b4fc8dc6c6178b0353f1029c0e07 /js/src/Ice/RetryQueue.js
parentFixes to JS test scripts and more work on iOS C++ controller (diff)
downloadice-006bdff840ed5c834a6640c1690844d38cdafff4.tar.bz2
ice-006bdff840ed5c834a6640c1690844d38cdafff4.tar.xz
ice-006bdff840ed5c834a6640c1690844d38cdafff4.zip
Removed or replaced double underscores in Ice for JavaScript
Diffstat (limited to 'js/src/Ice/RetryQueue.js')
-rw-r--r--js/src/Ice/RetryQueue.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/Ice/RetryQueue.js b/js/src/Ice/RetryQueue.js
index 6e9af19492d..30f812f9c4f 100644
--- a/js/src/Ice/RetryQueue.js
+++ b/js/src/Ice/RetryQueue.js
@@ -20,7 +20,7 @@ class RetryTask
run()
{
- this._outAsync.__retry();
+ this._outAsync.retry();
this._queue.remove(this);
}
@@ -28,7 +28,7 @@ class RetryTask
{
try
{
- this._outAsync.__abort(new Ice.CommunicatorDestroyedException());
+ this._outAsync.abort(new Ice.CommunicatorDestroyedException());
}
catch(ex)
{
@@ -45,7 +45,7 @@ class RetryTask
this._instance.initializationData().logger.trace(this._instance.traceLevels().retryCat,
"operation retry canceled\n" + ex.toString());
}
- this._outAsync.__completedEx(ex);
+ this._outAsync.completedEx(ex);
}
}
}
@@ -65,7 +65,7 @@ class RetryQueue
throw new Ice.CommunicatorDestroyedException();
}
let task = new RetryTask(this._instance, this, outAsync);
- outAsync.__cancelable(task); // This will throw if the request is canceled
+ outAsync.cancelable(task); // This will throw if the request is canceled
task.token = this._instance.timer().schedule(() => task.run(), interval);
this._requests.push(task);
}