Ice.EndpointSelectionType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice-compat Show documentation
Show all versions of ice-compat Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
//
// 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;
}