Ice._LoggerAdminOperations 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) 2003-2017 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.6.4
//
//
//
// Generated from file `RemoteLogger.ice'
//
// Warning: do not edit this file.
//
//
//
package Ice;
/**
* The interface of the admin object that allows an Ice application the attach its
* {@link RemoteLogger} to the {@link Logger} of this admin object's Ice communicator.
*
**/
public interface _LoggerAdminOperations
{
/**
* attachRemoteLogger is called to attach a {@link RemoteLogger} object to
* the local {@link Logger}.
* attachRemoteLogger calls init on the provided {@link RemoteLogger} proxy.
*
* @param prx A proxy to the remote logger.
*
* @param messageTypes The list of message types that the remote logger wishes to receive.
* An empty list means no filtering (send all message types).
*
* @param traceCategories The categories of traces that the remote logger wishes to receive.
* This parameter is ignored if messageTypes is not empty and does not include trace.
* An empty list means no filtering (send all trace categories).
*
* @param messageMax The maximum number of log messages (of all types) to be provided
* to {@link RemoteLogger#init}. A negative value requests all messages available.
*
* @throws RemoteLoggerAlreadyAttachedException Raised if this remote logger is already
* attached to this admin object.
*
* @param __current The Current object for the invocation.
**/
void attachRemoteLogger(RemoteLoggerPrx prx, LogMessageType[] messageTypes, String[] traceCategories, int messageMax, Ice.Current __current)
throws RemoteLoggerAlreadyAttachedException;
/**
* detachRemoteLogger is called to detach a {@link RemoteLogger} object from
* the local {@link Logger}.
*
* @param prx A proxy to the remote logger.
*
* @param __current The Current object for the invocation.
* @return True if the provided remote logger proxy was detached, and false otherwise.
*
**/
boolean detachRemoteLogger(RemoteLoggerPrx prx, Ice.Current __current);
/**
* getLog retrieves log messages recently logged.
*
* @param messageTypes The list of message types that the caller wishes to receive.
* An empty list means no filtering (send all message types).
*
* @param traceCategories The categories of traces that caller wish to receive.
* This parameter is ignored if messageTypes is not empty and does not include trace.
* An empty list means no filtering (send all trace categories).
*
* @param messageMax The maximum number of log messages (of all types) to be returned.
* A negative value requests all messages available.
*
* @param prefix The prefix of the associated local {@link Logger}.
*
* @param __current The Current object for the invocation.
* @return The Log messages.
*
**/
LogMessage[] getLog(LogMessageType[] messageTypes, String[] traceCategories, int messageMax, Ice.StringHolder prefix, Ice.Current __current);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy