public interface Agent
| Modifier and Type | Method and Description |
|---|---|
int |
doWork()
An agent should implement this method to do its work.
|
default void |
onClose()
To be overridden by Agents that need to do resource cleanup on close.
|
java.lang.String |
roleName()
Get the name of this agent's role.
|
int doWork()
throws java.lang.Exception
java.lang.Exception - if an error has occurreddefault void onClose()
java.lang.String roleName()
Copyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.