com.zeroc.Ice.ACMHeartbeat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice 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.9
//
//
//
// Generated from file `Connection.ice'
//
// Warning: do not edit this file.
//
//
//
package com.zeroc.Ice;
/**
* Specifies the heartbeat semantics for Active Connection Management.
**/
public enum ACMHeartbeat
{
/**
* Disables heartbeats.
**/
HeartbeatOff(0),
/**
* Send a heartbeat at regular intervals if the connection is idle and only if there are pending dispatch.
**/
HeartbeatOnDispatch(1),
/**
* Send a heartbeat at regular intervals when the connection is idle.
**/
HeartbeatOnIdle(2),
/**
* Send a heartbeat at regular intervals until the connection is closed.
**/
HeartbeatAlways(3);
public int value()
{
return _value;
}
public static ACMHeartbeat valueOf(int v)
{
switch(v)
{
case 0:
return HeartbeatOff;
case 1:
return HeartbeatOnDispatch;
case 2:
return HeartbeatOnIdle;
case 3:
return HeartbeatAlways;
}
return null;
}
private ACMHeartbeat(int v)
{
_value = v;
}
private final int _value;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy