de.janrufmonitor.framework.manager
Interface IMsnManager

All Superinterfaces:
IManager

public interface IMsnManager
extends IManager

This interface must be implemented by a MsnManager object, which should be used in the framework. A MsnManager must handle MSN information for calls.

Author:
Thilo Brandt

Method Summary
 IMsn createMsn(String msn)
          Creates a new Msn object for the given Msn String.
 boolean existMsn(IMsn msn)
          Checks wether a Msn object exists.
 String getMsnLabel(IMsn msn)
          Gets the MSN label for the given Msn object
 String getMsnLabel(String msn)
          Gets the MSN label for the given Msn String.
 String[] getMsnList()
          Gets a list with all Msn Strings supported by the Msn manager.
 boolean isMsnMonitored(IMsn msn)
          Checks wether a Msn object is monitored.
 
Methods inherited from interface de.janrufmonitor.framework.manager.IManager
getManagerID, getPriority, restart, setManagerID, shutdown, startup
 

Method Detail

getMsnLabel

String getMsnLabel(IMsn msn)
Gets the MSN label for the given Msn object

Parameters:
msn - the Msn object to label
Returns:
the MSN label as String

getMsnLabel

String getMsnLabel(String msn)
Gets the MSN label for the given Msn String.

Parameters:
msn - the Msn String to label
Returns:
the MSN label as String

createMsn

IMsn createMsn(String msn)
Creates a new Msn object for the given Msn String.

Parameters:
msn - the Msn string to create
Returns:
an IMsn object for the given Msn String

getMsnList

String[] getMsnList()
Gets a list with all Msn Strings supported by the Msn manager.

Returns:
Array of Msn Strings

existMsn

boolean existMsn(IMsn msn)
Checks wether a Msn object exists.

Parameters:
msn - the Msn object to validate
Returns:
true if Msn object exists, fals if not

isMsnMonitored

boolean isMsnMonitored(IMsn msn)
Checks wether a Msn object is monitored.

Parameters:
msn - the Msn object to validate
Returns:
true is Msn object is monitored or all Msns are monitored.


Copyright © 2010 by Thilo Brandt. All Rights Reserved.