com.ibm.di.api.remote.impl
Class LogListenerAdapter

java.lang.Object
  extended by com.ibm.di.api.remote.impl.LogListenerAdapter
All Implemented Interfaces:
LogListener, java.util.EventListener

public class LogListenerAdapter
extends java.lang.Object
implements LogListener

Adapt remote API listener to local API listener.

Since:
7.0

Constructor Summary
LogListenerAdapter(LogListener remoteListener)
          Constructor
 
Method Summary
 void messageLogged(java.lang.String aMessage)
          Called right after the specified message is logged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogListenerAdapter

public LogListenerAdapter(LogListener remoteListener)
                   throws DIException
Constructor

Parameters:
remoteListener - Log listener from the remote Server API layer.
Throws:
DIException - If the remoteListener is null.
Method Detail

messageLogged

public void messageLogged(java.lang.String aMessage)
                   throws DIException
Called right after the specified message is logged.

Specified by:
messageLogged in interface LogListener
Parameters:
aMessage - the message text
Throws:
DIException - If an error is encountered.