summaryrefslogtreecommitdiff
path: root/js/src/Ice/ReferenceMode.js
blob: 4a6de00fd7a1312828b0df4999b7c6071e9a5778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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));