Glacier2.SessionPrx Maven / Gradle / Ivy
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.7
//
//
//
// Generated from file `Session.ice'
//
// Warning: do not edit this file.
//
//
//
package Glacier2;
/**
* A client-visible session object, which is tied to the lifecycle of a {@link Router}.
*
* @see Router
* @see SessionManager
*
**/
public interface SessionPrx extends Ice.ObjectPrx
{
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
**/
public void destroy();
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param context The Context map to send with the invocation.
**/
public void destroy(java.util.Map context);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy();
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param context The Context map to send with the invocation.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(java.util.Map context);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(Ice.Callback cb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(java.util.Map context, Ice.Callback cb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(Callback_Session_destroy cb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(java.util.Map context, Callback_Session_destroy cb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_destroy(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Destroy the session. This is called automatically when the router is destroyed.
*
* @param result The asynchronous result object.
**/
public void end_destroy(Ice.AsyncResult result);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy