ch.ethz.iks.slp.impl
Interface PlatformAbstraction

Package class diagram package PlatformAbstraction
All Known Implementing Classes:
OSGiPlatformAbstraction

public interface PlatformAbstraction

Platform abstraction interface. Used to hide the different implementations for the OSGi platform and for stand-alone Java.

Author:
Jan S. Rellermeyer, ETH Zurich.

Method Summary
 Filter createFilter(String filterString)
          Create an LDAP filter.
 void logDebug(String message)
          Write a debug message to the log.
 void logDebug(String message, Throwable exception)
          Write a debug message to the log.
 void logError(String message)
          Write an error message to the log.
 void logError(String message, Throwable exception)
          Write an error message to the log.
 void logTraceDrop(String string)
          Trace a drop to the log.
 void logTraceMessage(String string)
          Trace a generic message to the log.
 void logTraceReg(String string)
          Trace a registration to the log.
 void logWarning(String message)
          Write a warning message to the log.
 void logWarning(String message, Throwable exception)
          Write a warning message to the log.
 

Method Detail

logDebug

void logDebug(String message)
Write a debug message to the log.

Parameters:
message - the message.

logDebug

void logDebug(String message,
              Throwable exception)
Write a debug message to the log.

Parameters:
message - the message.
exception - an exception.

logTraceMessage

void logTraceMessage(String string)
Trace a generic message to the log.

Parameters:
message - the message.

logTraceReg

void logTraceReg(String string)
Trace a registration to the log.

Parameters:
message - the message.

logTraceDrop

void logTraceDrop(String string)
Trace a drop to the log.

Parameters:
message - the message.

logWarning

void logWarning(String message)
Write a warning message to the log.

Parameters:
message - the message.

logWarning

void logWarning(String message,
                Throwable exception)
Write a warning message to the log.

Parameters:
message - the message.
exception - an exception.

logError

void logError(String message)
Write an error message to the log.

Parameters:
message - the message.

logError

void logError(String message,
              Throwable exception)
Write an error message to the log.

Parameters:
message - the message.
exception - an exception.

createFilter

Filter createFilter(String filterString)
Create an LDAP filter.

Parameters:
filterString - the filter string.
Returns:
an LDAP filter object.


Copyright © 2014 universAAL Consortium. All Rights Reserved.