summaryrefslogtreecommitdiff
path: root/js/src/Ice/ReferenceMode.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/ReferenceMode.js')
-rw-r--r--js/src/Ice/ReferenceMode.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/js/src/Ice/ReferenceMode.js b/js/src/Ice/ReferenceMode.js
new file mode 100644
index 00000000000..4a6de00fd7a
--- /dev/null
+++ b/js/src/Ice/ReferenceMode.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_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+(function(global){
+ var Ice = global.Ice || {};
+
+ //
+ // Using a separate module for these constants so that ObjectPrx does
+ // not need to include Reference.
+ //
+ var ReferenceMode =
+ {
+ ModeTwoway: 0,
+ ModeOneway: 1,
+ ModeBatchOneway: 2,
+ ModeDatagram: 3,
+ ModeBatchDatagram: 4,
+ ModeLast: 4
+ };
+
+ Ice.ReferenceMode = ReferenceMode;
+
+ global.Ice = Ice;
+}(typeof (global) === "undefined" ? window : global));