com.zeroc.Ice.CloseCallback 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.3
//
//
//
// Generated from file `Connection.ice'
//
// Warning: do not edit this file.
//
//
//
package com.zeroc.Ice;
/**
* An application can implement this interface to receive notifications when
* a connection closes.
*
* @see Connection#setCloseCallback
**/
@FunctionalInterface
public interface CloseCallback
{
/**
* This method is called by the the connection when the connection
* is closed. If the callback needs more information about the closure,
* it can call {@link Connection#throwException}.
* @param con The connection that closed.
**/
void closed(Connection con);
}