Class 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.

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


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

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


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


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


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