|
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
public class 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 NntpListener
event
- a NntpConnectedEvent
NntpConnectedEvent
public void disconnected(NntpDisconnectedEvent event)
disconnected
in interface NntpListener
event
- a NntpDisconnectedEvent
NntpDisconnectedEvent
public void articlePosted(NntpArticlePostedEvent event)
articlePosted
in interface NntpListener
event
- a NntpArticlePostedEvent
NntpArticlePostedEvent
public void articleRetrieved(NntpArticleEvent event)
articleRetrieved
in interface NntpListener
event
- a NntpArticleEvent
NntpArticleEvent
public void articleHeaderRetrieved(NntpArticleHeaderEvent event)
articleHeaderRetrieved
in interface NntpListener
event
- a NntpArticleHeaderEvent
NntpArticleHeaderEvent
public void progress(NntpProgressEvent event)
progress
in interface NntpListener
event
- a NntpProgressEvent
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |