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

com.zeroc.Ice.CompressBatch 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.9
//
// 
//
// Generated from file `Connection.ice'
//
// Warning: do not edit this file.
//
// 
//

package com.zeroc.Ice;

/**
 * The batch compression option when flushing queued batch requests.
 **/
public enum CompressBatch
{
    /**
     * Compress the batch requests.
     **/
    Yes(0),
    /**
     * Don't compress the batch requests.
     **/
    No(1),
    /**
     * Compress the batch requests if at least one request was
     * made on a compressed proxy.
     **/
    BasedOnProxy(2);

    public int value()
    {
        return _value;
    }

    public static CompressBatch valueOf(int v)
    {
        switch(v)
        {
        case 0:
            return Yes;
        case 1:
            return No;
        case 2:
            return BasedOnProxy;
        }
        return null;
    }

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

    private final int _value;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy