All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.player.event.LogMessageEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----guinea.player.event.PlayerEvent
                   |
                   +----guinea.player.event.PlayerDiagnosticsEvent
                           |
                           +----guinea.player.event.LogMessageEvent

public class LogMessageEvent
extends PlayerDiagnosticsEvent
Player log or error message event. This event is sent by the player when it detects errors or writes diagnostics. LogMessageEvents are lines read from the standard error stream of the player program.


Variable Index

· message
The log or error message.

Constructor Index

· LogMessageEvent(Object)
Construct a new logmessage event.
· LogMessageEvent(Object, String)
Construct a new log message event.

Method Index

· getMessage()
Get the message.
· toString()
Return a string representation of the event.

Variables

· message
 public String message
The log or error message.

Constructors

· LogMessageEvent
 public LogMessageEvent(Object source)
Construct a new logmessage event.

Parameters:
source - the player where the event originated.
· LogMessageEvent
 public LogMessageEvent(Object source,
                        String message)
Construct a new log message event.

Parameters:
source - the player where the event originated.
message - the message.

Methods

· getMessage
 public String getMessage()
Get the message.

· toString
 public String toString()
Return a string representation of the event.

Overrides:
toString in class PlayerEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index