|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.inet.nntp.NntpAdapter
Implements methods for capturing events sourced from Nntp class. This class
is intended to provide vertical compatibility with NntpListener interface.
Typicaly your application will use this class instead of NntpListener
interface to capture the following events :
NntpConnectedEvent
NntpDisconnectedEvent
NntpArticlePostedEvent
NntpArticleEvent
NntpArticleHeaderEvent
NntpProgressEvent
| Constructor Summary | |
NntpAdapter()
|
|
| Method Summary | |
void |
articleHeaderRetrieved(NntpArticleHeaderEvent event)
Invoked when an article header is retrieved from NNTP server. |
void |
articlePosted(NntpArticlePostedEvent event)
Invoked when an article is posted to NNTP server. |
void |
articleRetrieved(NntpArticleEvent event)
Invoked when an article is retrieved from NNTP server. |
void |
connected(NntpConnectedEvent event)
Invoked when connection to NNTP server is established. |
void |
disconnected(NntpDisconnectedEvent event)
Invoked when connection to NNTP server is released. |
void |
progress(NntpProgressEvent event)
Invoked when performing lengthy Nntp operations. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NntpAdapter()
| Method Detail |
public void connected(NntpConnectedEvent event)
connected in interface NntpListenerevent - a NntpConnectedEventNntpConnectedEventpublic void disconnected(NntpDisconnectedEvent event)
disconnected in interface NntpListenerevent - a NntpDisconnectedEventNntpDisconnectedEventpublic void articlePosted(NntpArticlePostedEvent event)
articlePosted in interface NntpListenerevent - a NntpArticlePostedEventNntpArticlePostedEventpublic void articleRetrieved(NntpArticleEvent event)
articleRetrieved in interface NntpListenerevent - a NntpArticleEventNntpArticleEventpublic void articleHeaderRetrieved(NntpArticleHeaderEvent event)
articleHeaderRetrieved in interface NntpListenerevent - a NntpArticleHeaderEventNntpArticleHeaderEventpublic void progress(NntpProgressEvent event)
progress in interface NntpListenerevent - a NntpProgressEvent
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||