public class AndroidAgent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected jadex.bridge.IInternalAccess |
agent
This field is injected by jadex.
|
| Constructor and Description |
|---|
AndroidAgent() |
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<java.lang.Void> |
agentKilled()
Called when the agent is killed.
|
jadex.commons.future.IFuture<java.lang.Void> |
executeBody()
Called when the agent is started.
|
void |
messageArrived(java.util.Map<java.lang.String,java.lang.Object> msg,
jadex.bridge.service.types.message.MessageType mt)
Called when the agent receives a message.
|
protected void |
showAndroidMessage(java.lang.String msg)
Show a message on the device.
|
public jadex.commons.future.IFuture<java.lang.Void> executeBody()
public jadex.commons.future.IFuture<java.lang.Void> agentKilled()
public void messageArrived(java.util.Map<java.lang.String,java.lang.Object> msg,
jadex.bridge.service.types.message.MessageType mt)
protected void showAndroidMessage(java.lang.String msg)
msg - The message to be shown.