All files / src/Ice LocatorRegistry.js

85.93% Statements 110/128
100% Branches 1/1
0% Functions 0/9
85.93% Lines 110/128

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 12941x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x     41x 41x     41x 41x     41x 41x 41x 41x 41x 41x 41x 41x 41x     41x 41x     41x 41x     41x 41x 41x 41x 41x 41x 41x 41x 41x     41x 41x     41x 41x     41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x  
// Copyright (c) ZeroC, Inc.
 
// slice2js version 3.8.0-alpha.0
// <auto-generated>Generated from Slice file 'LocatorRegistry.ice'.</auto-generated>
 
/* eslint-disable */
/* jshint ignore: start */
 
import * as Ice_DefaultSliceLoader from "../Ice/DefaultSliceLoader.js";
import * as Ice_Object from "../Ice/Object.js";
import * as Ice_ObjectPrx from "../Ice/ObjectPrx.js";
import * as Ice_Operation from "../Ice/Operation.js";
import * as Ice_StreamHelpers from "../Ice/StreamHelpers.js";
import * as Ice_TypeRegistry from "../Ice/TypeRegistry.js";
import * as Ice_UserException from "../Ice/UserException.js";
import * as Ice_Value from "../Ice/Value.js";
import { Ice as Ice___Locator } from "./Locator.js"
 
const Ice = {
    ...Ice_DefaultSliceLoader,
    ...Ice_Object,
    ...Ice_ObjectPrx,
    ...Ice_Operation,
    ...Ice_StreamHelpers,
    ...Ice_TypeRegistry,
    ...Ice_UserException,
    ...Ice_Value,
    ...Ice___Locator,
};
 
export { Ice };
 
/**
 * The exception that is thrown when a server application tries to register endpoints for an object adapter that is
 * already active.
 */
Ice.AdapterAlreadyActiveException = class extends Ice.UserException {
    static get _parent() {
        return Ice.UserException;
    }
 
    static get _ice_id() {
        return "::Ice::AdapterAlreadyActiveException";
    }
 
    _mostDerivedType() {
        return Ice.AdapterAlreadyActiveException;
    }
};
 
Ice.defineClass(Ice.AdapterAlreadyActiveException, "::Ice::AdapterAlreadyActiveException");
 
/**
 * The exception that is thrown when the provided replica group is invalid.
 */
Ice.InvalidReplicaGroupIdException = class extends Ice.UserException {
    static get _parent() {
        return Ice.UserException;
    }
 
    static get _ice_id() {
        return "::Ice::InvalidReplicaGroupIdException";
    }
 
    _mostDerivedType() {
        return Ice.InvalidReplicaGroupIdException;
    }
};
 
Ice.defineClass(Ice.InvalidReplicaGroupIdException, "::Ice::InvalidReplicaGroupIdException");
 
/**
 * The exception that is thrown when a server was not found.
 */
Ice.ServerNotFoundException = class extends Ice.UserException {
    static get _parent() {
        return Ice.UserException;
    }
 
    static get _ice_id() {
        return "::Ice::ServerNotFoundException";
    }
 
    _mostDerivedType() {
        return Ice.ServerNotFoundException;
    }
};
 
Ice.defineClass(Ice.ServerNotFoundException, "::Ice::ServerNotFoundException");
 
const iceC_Ice_LocatorRegistry_ids = [
    "::Ice::LocatorRegistry",
    "::Ice::Object"
];
 
/**
 * A server application registers the endpoints of its indirect object adapters with the LocatorRegistry object.
 */
Ice.LocatorRegistry = class extends Ice.Object {};
 
/**
 * A server application registers the endpoints of its indirect object adapters with the LocatorRegistry object.
 */
Ice.LocatorRegistryPrx = class extends Ice.ObjectPrx {};
 
Ice.TypeRegistry.declareProxyType("Ice.LocatorRegistryPrx", Ice.LocatorRegistryPrx);
 
Ice.defineOperations(
    Ice.LocatorRegistry,
    Ice.LocatorRegistryPrx,
    iceC_Ice_LocatorRegistry_ids,
    "::Ice::LocatorRegistry", {
        "setAdapterDirectProxy": [, 2, , , [[7], [8]], ,
        [
            Ice.AdapterNotFoundException,
            Ice.AdapterAlreadyActiveException
        ], , ],
        "setReplicatedAdapterDirectProxy": [, 2, , , [[7], [7], [8]], ,
        [
            Ice.AdapterNotFoundException,
            Ice.AdapterAlreadyActiveException,
            Ice.InvalidReplicaGroupIdException
        ], , ],
        "setServerProcessProxy": [, 2, , , [[7], ["Ice.ProcessPrx"]], ,
        [
            Ice.ServerNotFoundException
        ], , ]
    });