com.myjavaworld.ftp
Class ControlConnectionEvent
java.lang.Object
java.util.EventObject
com.myjavaworld.ftp.ControlConnectionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ControlConnectionEvent
- extends java.util.EventObject
An event generated by objects of ControlConnection. This
event is generated when ever a command is sent to the remote host or a reply
is received from the remote host.
- Version:
- 2.0
- Author:
- Sai Pullabhotla, psai [at] jMethods [dot] com
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ControlConnectionEvent(java.lang.Object source,
java.lang.String message)
Constructs a ControlConnectionEvent object with the
specified source and message. |
|
Method Summary |
java.lang.String |
getMessage()
Gets the descriptive message of this event. |
java.lang.String |
toString()
Converts this event object to a String and returns it. |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ControlConnectionEvent
public ControlConnectionEvent(java.lang.Object source,
java.lang.String message)
- Constructs a
ControlConnectionEvent object with the
specified source and message.
- Parameters:
source - The object that generated this event.message - the description of the event.
getMessage
public java.lang.String getMessage()
- Gets the descriptive message of this event.
- Returns:
- message Description of this event.
toString
public java.lang.String toString()
- Converts this event object to a
String and returns it.
- Overrides:
toString in class java.util.EventObject
- Returns:
- String representation of this event.