public class MessagePerformanceAgent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected jadex.bridge.IInternalAccess |
agent
The agent.
|
protected int |
current
The current message number sent.
|
protected jadex.commons.future.Future<java.lang.Void> |
future
The future for terminating.
|
protected int |
received
The received messages.
|
protected long |
starttime
The start time.
|
| Constructor and Description |
|---|
MessagePerformanceAgent() |
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<java.lang.Void> |
executeBody()
Execute an agent step.
|
protected jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> |
getTarget(boolean auto,
jadex.bridge.IComponentIdentifier def)
Get the component identifier for sending.
|
jadex.commons.future.IFuture<java.lang.Long> |
getTime()
Get the time.
|
void |
messageArrived(java.util.Map<java.lang.String,java.lang.Object> msg,
jadex.bridge.service.types.message.MessageType mt)
Called on message arrival.
|
protected jadex.bridge.IInternalAccess agent
protected int received
protected long starttime
protected int current
protected jadex.commons.future.Future<java.lang.Void> future
public jadex.commons.future.IFuture<java.lang.Void> executeBody()
protected jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> getTarget(boolean auto,
jadex.bridge.IComponentIdentifier def)
public void messageArrived(java.util.Map<java.lang.String,java.lang.Object> msg,
jadex.bridge.service.types.message.MessageType mt)
public jadex.commons.future.IFuture<java.lang.Long> getTime()