java.lang.Object
i2p.susi.webmail.WebMail.ConnectWaiter
- All Implemented Interfaces:
NewMailListener, Runnable
- Enclosing class:
WebMail
Callback from
POP3MailBox.connectToServer(NewMailListener).Field Summary
FieldsModifier and TypeFieldDescriptionprivate final POP3MailBoxThe mailbox being fetched.private final WebMail.SessionObjectThe session waiting for the fetch.Constructor Summary
ConstructorsConstructorDescriptionWaits for the mailbox to connect for this session.Method Summary
All MethodsModifier and TypeMethodDescriptionvoidfoundNewMail(boolean connected) Report the result of a new-mail check.voidrun()
Field Details
_so
The session waiting for the fetch._mb
The mailbox being fetched.
Constructor Details
ConnectWaiter
Waits for the mailbox to connect for this session.- Parameters:
so- the session waiting on the mailbox connection attempt
Method Details
run
foundNewMail
public void foundNewMail(boolean connected) Description copied from interface:NewMailListenerReport the result of a new-mail check.- Specified by:
foundNewMailin interfaceNewMailListener- Parameters:
connected- true if new mail was found