summaryrefslogtreecommitdiff
path: root/js/src/Ice/ConnectionBatchOutgoingAsync.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/ConnectionBatchOutgoingAsync.js')
-rw-r--r--js/src/Ice/ConnectionBatchOutgoingAsync.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/js/src/Ice/ConnectionBatchOutgoingAsync.js b/js/src/Ice/ConnectionBatchOutgoingAsync.js
new file mode 100644
index 00000000000..f4f4d801544
--- /dev/null
+++ b/js/src/Ice/ConnectionBatchOutgoingAsync.js
@@ -0,0 +1,30 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_FOR_ACTIONSCRIPT_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+(function(global){
+ require("Ice/Class");
+ require("Ice/BatchOutgoingAsync");
+
+ var Ice = global.Ice || {};
+
+ var BatchOutgoingAsync = Ice.BatchOutgoingAsync;
+
+ Ice.ConnectionBatchOutgoingAsync = Ice.Class(BatchOutgoingAsync, {
+ __init__: function(con, communicator, operation)
+ {
+ BatchOutgoingAsync.call(this, communicator, operation);
+ this._connection = con;
+ },
+ __send: function()
+ {
+ this._connection.flushAsyncBatchRequests(this);
+ }
+ });
+ global.Ice = Ice;
+}(typeof (global) === "undefined" ? window : global));