Class OutgoingLoggingCallback

  • All Implemented Interfaces:

    public class OutgoingLoggingCallback
    extends AbstractOutgoingCallback
    Callback class for outgoing logging.
    FracPete (fracpete at waikato dot ac dot nz)
    • Field Detail

      • m_Logger

        protected adams.core.logging.Logger m_Logger
        the logger to use for outputting the collected data.
    • Constructor Detail

      • OutgoingLoggingCallback

        public OutgoingLoggingCallback​(adams.core.logging.Logger logger,
                                       org.apache.cxf.message.Message msg,
                                       OutputStream os)
        Initializes the callback.
        logger - the logger to use for outputting the data
        msg - the message to process
        os - the output stream
    • Method Detail

      • write

        protected void write​(org.apache.cxf.interceptor.LoggingMessage buffer)
        Outputs the buffer using its logger.
        Specified by:
        write in class AbstractOutgoingCallback
        buffer - the buffer with the collected data