FileDocCategorySizeDatePackage
MessageListener.javaAPI DocAzureus 3.0.3.42088Mon Dec 04 11:59:32 GMT 2006com.aelitis.azureus.ui.swt.browser.msg

MessageListener

public interface MessageListener
Accepts and handles messages dispatched from {@link MessageDispatcher}. Subclasses should use the message's operation ID and parameters to perform the requested operation.
author
dharkness
created
Jul 18, 2006

Fields Summary
Constructors Summary
Methods Summary
public com.aelitis.azureus.core.messenger.ClientMessageContextgetContext()
Returns the context for this listener.

return
listener's context

public java.lang.StringgetId()
Returns the unique ID for this listener.

return
listener's unique ID

public voidhandleMessage(BrowserMessage message)
Handles the given message, usually by parsing the parameters and calling the appropriate operation.

param
message holds all message information

public voidsetContext(com.aelitis.azureus.core.messenger.ClientMessageContext context)
Sets the context for this listener. Called by its dispatcher when attached.

param
context the new context for this listener