Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.runtime.targets
Class SpooledNetworkTarget

java.lang.Object
  extended by com.genesyslab.platform.commons.log.AbstractLogEnabled
      extended by com.genesyslab.platform.logging.runtime.targets.BaseTarget
          extended by com.genesyslab.platform.logging.runtime.targets.SpooledNetworkTarget
All Implemented Interfaces:
ILogEnabled, Target

public final class SpooledNetworkTarget
extends BaseTarget


Constructor Summary
SpooledNetworkTarget()
           
SpooledNetworkTarget(NetworkTargetConfiguration configuration, Protocol protocol)
           
 
Method Summary
protected  void doActivate()
           
protected  void doApplyConfiguration(LogConfiguration configuration)
           
protected  void doStop()
           
protected  void doWrite(LogEntry entry)
           
protected  java.lang.String getTargetName()
           
protected  void onEnableLogging(ILogger logger)
          Override this method to perform additional logging related actions, such as passing logger down to hierarchy, etc.
 void replaceCarryingProtocol(Protocol argProt)
           
 void setVerbose(VerboseLevel level)
           
 
Methods inherited from class com.genesyslab.platform.logging.runtime.targets.BaseTarget
activate, applyConfiguration, enableLogging, getFilter, getFormatter, getVerbose, isEnabled, setEnabled, setFilter, setFormatter, stop, write
 
Methods inherited from class com.genesyslab.platform.commons.log.AbstractLogEnabled
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpooledNetworkTarget

public SpooledNetworkTarget()
                     throws LoggerException
Throws:
LoggerException

SpooledNetworkTarget

public SpooledNetworkTarget(NetworkTargetConfiguration configuration,
                            Protocol protocol)
                     throws LoggerException
Throws:
LoggerException
Method Detail

onEnableLogging

protected void onEnableLogging(ILogger logger)
Description copied from class: AbstractLogEnabled
Override this method to perform additional logging related actions, such as passing logger down to hierarchy, etc.

Overrides:
onEnableLogging in class AbstractLogEnabled
Parameters:
logger - The ILogger instance

setVerbose

public void setVerbose(VerboseLevel level)
Overrides:
setVerbose in class BaseTarget

getTargetName

protected java.lang.String getTargetName()

doActivate

protected void doActivate()
Specified by:
doActivate in class BaseTarget

doWrite

protected void doWrite(LogEntry entry)
                throws LoggerException
Specified by:
doWrite in class BaseTarget
Throws:
LoggerException

doStop

protected void doStop()
Specified by:
doStop in class BaseTarget

doApplyConfiguration

protected void doApplyConfiguration(LogConfiguration configuration)
Overrides:
doApplyConfiguration in class BaseTarget

replaceCarryingProtocol

public void replaceCarryingProtocol(Protocol argProt)
                             throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.