com.anthonyeden.lib.event
Class CommEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.anthonyeden.lib.event.CommEvent
All Implemented Interfaces:
java.io.Serializable

public class CommEvent
extends java.util.EventObject

A communications event. CommEvents can be used to signal the start and end of a potentially lengthy communication with a remote server or any other source which may have a delayed response.

Author:
Anthony Eden
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CommEvent(java.lang.Object source)
          Construct a CommEvent with the given event source.
CommEvent(java.lang.Object source, java.lang.String message)
          Construct a CommEvent with the given event source and message.
 
Method Summary
 java.lang.String getMessage()
          Get the message String.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommEvent

public CommEvent(java.lang.Object source)
Construct a CommEvent with the given event source.

Parameters:
source - The event source

CommEvent

public CommEvent(java.lang.Object source,
                 java.lang.String message)
Construct a CommEvent with the given event source and message.

Parameters:
source - The event source
message - A message String
Method Detail

getMessage

public java.lang.String getMessage()
Get the message String.

Returns:
The message String


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.