Platform SDK Java 8.5 API Reference

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

java.lang.Object
  extended by com.genesyslab.platform.logging.runtime.targets.MessageServerTarget
All Implemented Interfaces:
Target

public final class MessageServerTarget
extends java.lang.Object
implements Target


Constructor Summary
MessageServerTarget(boolean shouldBeEnabled)
           
MessageServerTarget(Protocol theProtocol, VerboseLevel level, boolean shouldBeEnabled)
           
 
Method Summary
 java.lang.String getClientHost()
           
 void replaceCarryingProtocol(Protocol argProt)
           
 void setClientHost(java.lang.String host)
           
 void stop()
          This method is called by Logger to stop target.
 void write(LogEntry entry)
          This method is called by Logger to write the passed entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageServerTarget

public MessageServerTarget(Protocol theProtocol,
                           VerboseLevel level,
                           boolean shouldBeEnabled)

MessageServerTarget

public MessageServerTarget(boolean shouldBeEnabled)
Method Detail

replaceCarryingProtocol

public void replaceCarryingProtocol(Protocol argProt)

write

public void write(LogEntry entry)
           throws LoggerException
Description copied from interface: Target
This method is called by Logger to write the passed entry.

Specified by:
write in interface Target
Parameters:
entry - LogEntry to write
Throws:
LoggerException

stop

public void stop()
Description copied from interface: Target
This method is called by Logger to stop target.

Specified by:
stop in interface Target

getClientHost

public java.lang.String getClientHost()

setClientHost

public void setClientHost(java.lang.String host)

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.