Package jadex.platform.service.email
Class EmailFetcherAgent
- java.lang.Object
-
- jadex.platform.service.email.EmailFetcherAgent
-
- All Implemented Interfaces:
IEmailFetcherService
public class EmailFetcherAgent extends java.lang.Object implements IEmailFetcherService
Agent that is responsible for fetching mails for one subscription.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
The agent.
-
Constructor Summary
Constructors Constructor Description EmailFetcherAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IIntermediateFuture<Email>
fetchEmails(SubscriptionInfo sub)
Fetch emails for a subscription.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The agent.
-
-
Method Detail
-
fetchEmails
public IIntermediateFuture<Email> fetchEmails(SubscriptionInfo sub)
Fetch emails for a subscription.- Specified by:
fetchEmails
in interfaceIEmailFetcherService
- Parameters:
sub
- The subscription.- Returns:
- The emails.
-
-