// ********************************************************************** // // Copyright (c) 2003-2010 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. // // ********************************************************************** // Ice version 3.4.1 package Ice; // <auto-generated> // // Generated from file `EndpointTypes.ice' // // Warning: do not edit this file. // // </auto-generated> /** * Determines the order in which the Ice run time uses the endpoints * in a proxy when establishing a connection. * **/ public enum EndpointSelectionType implements java.io.Serializable { /** * <tt>Random</tt> causes the endpoints to be arranged in a random order. **/ Random, /** * <tt>Ordered</tt> forces the Ice run time to use the endpoints in the * order they appeared in the proxy. **/ Ordered; public void __write(IceInternal.BasicStream __os) { __os.writeByte((byte)ordinal()); } public static EndpointSelectionType __read(IceInternal.BasicStream __is) { int __v = __is.readByte(2); return values()[__v]; } }