org.datamanager.event
Class NewsGroupDownloadRequestEvent

java.lang.Object
  |
  +--org.datamanager.event.DataManagerEventAdapter
        |
        +--org.datamanager.event.NewsGroupDownloadRequestEvent
All Implemented Interfaces:
DataManagerEvent, EntityValue, RequestEvent, Serializable

public class NewsGroupDownloadRequestEvent
extends DataManagerEventAdapter
implements RequestEvent

This event is used to trigger the download of a newsgroup.

Author:
Matthew Farrellee
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.datamanager.event.DataManagerEventAdapter
source, time
 
Constructor Summary
NewsGroupDownloadRequestEvent(EventGenerator source, String group, String server)
          Create a new NewsGroupDownloadRequestEvent.
 
Method Summary
 String getNewsGroup()
          Get the name of the newsgroup.
 String getServer()
          Get the name of the news server.
 String toString()
          Report a String representation of the event.
 
Methods inherited from class org.datamanager.event.DataManagerEventAdapter
getSource, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.datamanager.event.DataManagerEvent
getSource, getTime
 

Constructor Detail

NewsGroupDownloadRequestEvent

public NewsGroupDownloadRequestEvent(EventGenerator source,
                                     String group,
                                     String server)
Create a new NewsGroupDownloadRequestEvent.

Parameters:
source - The source of the event.
group - The new group to downloaded.
server - The server on which to find the group.
Method Detail

getNewsGroup

public String getNewsGroup()
Get the name of the newsgroup.


getServer

public String getServer()
Get the name of the news server.


toString

public String toString()
Description copied from interface: DataManagerEvent
Report a String representation of the event.

Specified by:
toString in interface DataManagerEvent
Specified by:
toString in class DataManagerEventAdapter


See the Helium Website