com.myjavaworld.ftp
Class ControlConnectionEvent
java.lang.Object
java.util.EventObject
com.myjavaworld.ftp.ControlConnectionEvent
- All Implemented Interfaces:
- Serializable
public class ControlConnectionEvent
- extends 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
Method Summary |
String |
getMessage()
Gets the descriptive message of this event. |
String |
toString()
Converts this event object to a String and returns it. |
ControlConnectionEvent
public ControlConnectionEvent(Object source,
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 String getMessage()
- Gets the descriptive message of this event.
- Returns:
- message Description of this event.
toString
public String toString()
- Converts this event object to a
String
and returns it.
- Overrides:
toString
in class EventObject
- Returns:
- String representation of this event.
Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.