com.sun.slamd.client
Interface ClientMessageWriter

All Known Implementing Classes:
CommandLineClient, CommandLineClientManager, CommandLineResourceMonitorClient, RunScript, StandaloneClient, SwingClient

public interface ClientMessageWriter

This interface provides a mechanism by which various kinds of clients (e.g., command line clients, GUI clients, etc.) can display information about what a client is doing in an appropriate manner.

Author:
Neil A. Wilson

Method Summary
 boolean usingVerboseMode()
          Indicates whether the message writer is using verbose mode and therefore will display messages written with the writeVerbose method.
 void writeMessage(java.lang.String message)
          Writes the specified message to the appropriate location.
 void writeVerbose(java.lang.String message)
          Writes the specified message to the appropriate location, provided that the client is operating in verbose mode.
 

Method Detail

writeMessage

void writeMessage(java.lang.String message)
Writes the specified message to the appropriate location.

Parameters:
message - The message to be written.

writeVerbose

void writeVerbose(java.lang.String message)
Writes the specified message to the appropriate location, provided that the client is operating in verbose mode.

Parameters:
message - The message to be written.

usingVerboseMode

boolean usingVerboseMode()
Indicates whether the message writer is using verbose mode and therefore will display messages written with the writeVerbose method.

Returns:
true if the message writer is using verbose mode, or false if not.