public class NewsProviderAgent extends java.lang.Object implements INewsService
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent
The agent.
|
protected java.util.List<jadex.commons.future.SubscriptionIntermediateFuture<java.lang.String>> |
subscriptions
The subscriptions.
|
Constructor and Description |
---|
NewsProviderAgent() |
Modifier and Type | Method and Description |
---|---|
void |
body() |
jadex.commons.future.ISubscriptionIntermediateFuture<java.lang.String> |
subscribeToNews()
Subscribe to the newsprovider.
|
protected jadex.bridge.IInternalAccess agent
protected java.util.List<jadex.commons.future.SubscriptionIntermediateFuture<java.lang.String>> subscriptions
public void body()
public jadex.commons.future.ISubscriptionIntermediateFuture<java.lang.String> subscribeToNews()
subscribeToNews
in interface INewsService