com.anthonyeden.lib.event
Class CommEvent
java.lang.Object
java.util.EventObject
com.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
| 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 |
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 sourcemessage - A message String
getMessage
public java.lang.String getMessage()
- Get the message String.
- Returns:
- The message String
Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.