com.aelitis.azureus.core.messenger
Class ClientMessageContextImpl
java.lang.Object
com.aelitis.azureus.core.messenger.ClientMessageContextImpl
- All Implemented Interfaces:
- ClientMessageContext
- Direct Known Subclasses:
- BrowserContext
public abstract class ClientMessageContextImpl
- extends Object
- implements ClientMessageContext
- Author:
- TuxPaper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientMessageContextImpl
public ClientMessageContextImpl(String id,
BrowserMessageDispatcher dispatcher)
addMessageListener
public void addMessageListener(BrowserMessageListener listener)
- Specified by:
addMessageListener
in interface ClientMessageContext
debug
public void debug(String message)
- Description copied from interface:
ClientMessageContext
- Displays a debug message tagged with the context ID.
- Specified by:
debug
in interface ClientMessageContext
- Parameters:
message
- sent to the debug log
debug
public void debug(String message,
Throwable t)
- Description copied from interface:
ClientMessageContext
- Displays a debug message and exception tagged with the context ID.
- Specified by:
debug
in interface ClientMessageContext
- Parameters:
message
- sent to the debug logt
- exception to log with message
removeMessageListener
public void removeMessageListener(String listenerId)
- Specified by:
removeMessageListener
in interface ClientMessageContext
removeMessageListener
public void removeMessageListener(BrowserMessageListener listener)
- Specified by:
removeMessageListener
in interface ClientMessageContext
getDispatcher
public BrowserMessageDispatcher getDispatcher()
- Specified by:
getDispatcher
in interface ClientMessageContext
getID
public String getID()
setMessageDispatcher
public void setMessageDispatcher(BrowserMessageDispatcher dispatcher)
- Specified by:
setMessageDispatcher
in interface ClientMessageContext