org.avis.client
Class ElvinLogEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.avis.client.ElvinLogEvent
All Implemented Interfaces:
Serializable

public class ElvinLogEvent
extends EventObject

A logging event fired by an elvin client.

Author:
Matthew Phillips
See Also:
Elvin.addLogListener(ElvinLogListener), Serialized Form

Nested Class Summary
static class ElvinLogEvent.Type
           
 
Field Summary
 Throwable exception
          The exception that triggered the message, if any (or null).
 String message
          The message text.
 ElvinLogEvent.Type type
          The type of message.
 
Constructor Summary
ElvinLogEvent(Elvin elvin, ElvinLogEvent.Type type, String message, Throwable exception)
           
 
Method Summary
 Elvin elvin()
          The elvin client connection that fired the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public final ElvinLogEvent.Type type
The type of message.


message

public final String message
The message text.


exception

public final Throwable exception
The exception that triggered the message, if any (or null).

Constructor Detail

ElvinLogEvent

public ElvinLogEvent(Elvin elvin,
                     ElvinLogEvent.Type type,
                     String message,
                     Throwable exception)
Method Detail

elvin

public Elvin elvin()
The elvin client connection that fired the event. Same as EventObject.getSource().



Copyright © 2008 Matthew Phillips. All Rights Reserved.