Public Member Functions

com.cosylab.logging.engine.ACS.ACSLogConnectionListener Interface Reference

Inheritance diagram for com.cosylab.logging.engine.ACS.ACSLogConnectionListener:
alma.acs.logging.dialogs.main.LogFrame alma.acs.logtools.monitor.LogDetailsDispatcher com.cosylab.logging.LoggingClient com.cosylab.logging.RemoteResponseCallbackText

List of all members.

Public Member Functions

void acsLogConnEstablished ()
void acsLogConnDisconnected ()
void acsLogConnLost ()
void acsLogConnConnecting ()
void acsLogConnSuspended ()
void acsLogsDelay ()
void reportStatus (String status)

Detailed Description

The listener for the status of the connection with the logging channel

Author:
acaproni

Member Function Documentation

void com.cosylab.logging.engine.ACS.ACSLogConnectionListener.acsLogConnConnecting (  ) 
void com.cosylab.logging.engine.ACS.ACSLogConnectionListener.acsLogConnDisconnected (  ) 

Notify that the connection with ACS NC has been disconnected It can happen as a consequence of an error as well as as consequence of a request

Implemented in alma.acs.logging.dialogs.main.LogFrame, com.cosylab.logging.RemoteResponseCallbackText, and alma.acs.logtools.monitor.LogDetailsDispatcher.

Referenced by com.cosylab.logging.engine.ACS.ACSListenersDispatcher.publishConnected().

void com.cosylab.logging.engine.ACS.ACSLogConnectionListener.acsLogConnEstablished (  ) 
void com.cosylab.logging.engine.ACS.ACSLogConnectionListener.acsLogConnLost (  ) 
void com.cosylab.logging.engine.ACS.ACSLogConnectionListener.acsLogConnSuspended (  ) 

Notify that the service is supended (i.e. it is connected to the NC and receiving logs but the logs are discarded instead of being sent to the listeners) Note: the suspension of the service is not a malfunctioning but a status requested by the user

Implemented in alma.acs.logging.dialogs.main.LogFrame, com.cosylab.logging.RemoteResponseCallbackText, and alma.acs.logtools.monitor.LogDetailsDispatcher.

Referenced by com.cosylab.logging.engine.ACS.ACSListenersDispatcher.publishSuspended().

void com.cosylab.logging.engine.ACS.ACSLogConnectionListener.acsLogsDelay (  ) 

Notify that for some internal reason the service is not able to follow the flow of the incoming logs and is queueing the messages to be inserted later, when flow will decrease and enough CPU time is availbale

This method is not executed each time a log is queued but once when the situation begins. When the temporary problem has been fixed, the status will revert to connected

Implemented in alma.acs.logging.dialogs.main.LogFrame, com.cosylab.logging.RemoteResponseCallbackText, and alma.acs.logtools.monitor.LogDetailsDispatcher.

Referenced by com.cosylab.logging.engine.ACS.ACSListenersDispatcher.publishDiscarding().

void com.cosylab.logging.engine.ACS.ACSLogConnectionListener.reportStatus ( String  status  ) 

Send a report string with the current status of the connection

Parameters:
status The status string

Implemented in alma.acs.logging.dialogs.main.LogFrame, and alma.acs.logtools.monitor.LogDetailsDispatcher.

Referenced by com.cosylab.logging.engine.ACS.ACSListenersDispatcher.publishReport().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties