lime.util.console
Interface IConsoleProvider


public interface IConsoleProvider

Defines a simple interface that can be used by any object that somehow manages a LimeConsole object. The getConsole() method is typically invoked by a LimeConsoleListener after an agent migration has occurred, in order to get hold of the current console.

Version:
1.0 alpha
Author:
Amy L. Murphy, Gian Pietro Picco
See Also:
LimeConsole, LimeConsoleListener

Method Summary
 LimeConsole getConsole()
          Retrieves the console from the provider.
 void setConsole(LimeConsole c)
          Associates the given console to the provider object.
 

Method Detail

setConsole

public void setConsole(LimeConsole c)
Associates the given console to the provider object.


getConsole

public LimeConsole getConsole()
Retrieves the console from the provider.