All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Ice.EndpointSelectionType Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
// 
//
// Generated from file `EndpointTypes.ice'
//
// Warning: do not edit this file.
//
// 
//

package Ice;

/**
 * Determines the order in which the Ice run time uses the endpoints
 * in a proxy when establishing a connection.
 *
 **/
public enum EndpointSelectionType
{
    /**
     * Random causes the endpoints to be arranged in a random order.
     **/
    Random(0),

    /**
     * Ordered forces the Ice run time to use the endpoints in the
     * order they appeared in the proxy.
     **/
    Ordered(1);

    public int value()
    {
        return _value;
    }

    public static EndpointSelectionType valueOf(int v)
    {
        switch(v)
        {
        case 0:
            return Random;
        case 1:
            return Ordered;
        }
        return null;
    }

    private EndpointSelectionType(int v)
    {
        _value = v;
    }

    private final int _value;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy