Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

abort() - Method in class org.arl.fjage.shell.EchoScriptEngine
 
abort() - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
abort() - Method in interface org.arl.fjage.shell.ScriptEngine
Abort currently running script.
ABORT - Static variable in interface org.arl.fjage.shell.Shell
Abort string returned when user presses ^C.
ABORT - Static variable in class org.arl.fjage.shell.ShellAgent
 
AbstractFirewall - Class in org.arl.fjage.auth
An abstract firewall class that allows all traffic to pass through once authenticated.
AbstractFirewall() - Constructor for class org.arl.fjage.auth.AbstractFirewall
 
accepts(Message) - Method in class org.arl.fjage.MessageBehavior
Check if this MessageBehavior accepts a specific message.
action() - Method in class org.arl.fjage.BackoffBehavior
This method calls BackoffBehavior.onExpiry() when the specified backoff period expires.
action - Variable in class org.arl.fjage.Behavior
If this field is not null, the default action() method calls it.
action() - Method in class org.arl.fjage.Behavior
This method is repeatedly called during the life of a behavior.
action() - Method in class org.arl.fjage.FSMBehavior
 
action() - Method in class org.arl.fjage.FSMBehavior.State
This method is repeatedly called when the state is active.
action() - Method in class org.arl.fjage.MessageBehavior
This method calls MessageBehavior.onReceive(Message) for every message received that meets the acceptance criteria.
action() - Method in class org.arl.fjage.PoissonBehavior
This method calls PoissonBehavior.onTick() for each Poisson arrival.
Action - Enum in org.arl.fjage.remote
JSON message actions.
action - Variable in class org.arl.fjage.remote.JsonMessage
 
action() - Method in class org.arl.fjage.TestBehavior
 
action() - Method in class org.arl.fjage.TickerBehavior
This method calls TickerBehavior.onTick() once every specified period.
action() - Method in class org.arl.fjage.WakerBehavior
This method calls WakerBehavior.onWake() when the specified delay for this behavior expires.
add(Behavior) - Method in class org.arl.fjage.Agent
Adds a behavior to the agent.
add(ContextHandler) - Method in class org.arl.fjage.connectors.WebServer
Adds a context handler to the server.
add(String, String, String) - Method in class org.arl.fjage.connectors.WebServer
Adds a context to serve static documents.
add(String, String) - Method in class org.arl.fjage.connectors.WebServer
Adds a context to serve static documents.
add(String, File, String) - Method in class org.arl.fjage.connectors.WebServer
Adds a context to serve static documents.
add(String, File) - Method in class org.arl.fjage.connectors.WebServer
Adds a context to serve static documents.
add(String, Agent) - Method in class org.arl.fjage.Container
Adds an agent to the container.
add(Agent) - Method in class org.arl.fjage.Container
Adds an agent to the container.
add(FSMBehavior.State) - Method in class org.arl.fjage.FSMBehavior
Adds a state to the FSM.
add(Message) - Method in class org.arl.fjage.MessageQueue
 
add(String, Agent) - Method in class org.arl.fjage.remote.SlaveContainer
 
add(String) - Method in class org.arl.fjage.shell.Documentation
Add markdown documentation.
addConnector(Connector) - Method in class org.arl.fjage.remote.MasterContainer
Adds a connector over which the master container listens.
addConnector(Connector, Firewall) - Method in class org.arl.fjage.remote.MasterContainer
Adds a connector over which the master container listens, but with a custom firewall for that connector.
addContainer(Container) - Method in class org.arl.fjage.Platform
Adds a container to the platform.
addInitrc(String) - Method in class org.arl.fjage.shell.ShellAgent
Adds a name of the initialization script to setup the console environment.
addInitrc(File) - Method in class org.arl.fjage.shell.ShellAgent
Adds a initialization script file to setup the console environment.
addInitrc(String, Reader) - Method in class org.arl.fjage.shell.ShellAgent
Adds a initialization script from a reader to setup the console environment.
addListener(MessageListener) - Method in class org.arl.fjage.Container
Adds a listener to the container.
addMessageListener(MessageListener) - Method in class org.arl.fjage.shell.ShellAgent
Adds a message listener for incoming notifications.
addPolicy(String, Consumer<SimpleFirewallSupplier.Policy>) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier
Add/update a policy.
addRule(Rule) - Method in class org.arl.fjage.connectors.WebServer
Adds a rule to rewrite handler.
addTypeHierarchyAdapter(Class<?>, Object) - Static method in class org.arl.fjage.remote.JsonMessage
 
addUpload(String, File) - Method in class org.arl.fjage.connectors.WebServer
Adds a context to upload files to.
addUpload(String, File, long, long, int) - Method in class org.arl.fjage.connectors.WebServer
Adds a context to upload files to.
addUser(String, String, String) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier
Add/update a user.
Agent - Class in org.arl.fjage
Base class to be extended by all agents.
Agent() - Constructor for class org.arl.fjage.Agent
 
agent(String) - Method in class org.arl.fjage.Agent
Convenience method to create agent id for the named agent.
agent - Variable in class org.arl.fjage.Behavior
Agent owning this behavior.
agent(String) - Method in class org.arl.fjage.Behavior
Convenience method to create an owned agent id for the named agent.
agent - Variable in class org.arl.fjage.remote.Gateway
 
agent(String) - Method in class org.arl.fjage.remote.Gateway
Returns an object representing a named agent.
agentForService(String) - Method in class org.arl.fjage.Agent
Finds an agent that provides a named service.
agentForService(Enum<?>) - Method in class org.arl.fjage.Agent
Finds an agent that provides a named service.
agentForService(String) - Method in class org.arl.fjage.Behavior
Convenience method to find an agent that provides a named service.
agentForService(Enum<?>) - Method in class org.arl.fjage.Behavior
Convenience method to find an agent that provides a named service.
agentForService(String) - Method in class org.arl.fjage.Container
Finds an agent providing a named service.
agentForService(String) - Method in class org.arl.fjage.remote.Gateway
Finds an agent that provides a named service.
agentForService(Enum<?>) - Method in class org.arl.fjage.remote.Gateway
Finds an agent that provides a named service.
agentForService(String) - Method in class org.arl.fjage.remote.MasterContainer
 
agentForService(String) - Method in class org.arl.fjage.remote.SlaveContainer
 
AgentID - Class in org.arl.fjage
An identifier for an agent or a topic.
AgentID(String) - Constructor for class org.arl.fjage.AgentID
Constructor to create an agent id given the agent's name.
AgentID(String, boolean) - Constructor for class org.arl.fjage.AgentID
Constructor to create an agent id for an agent or a topic.
AgentID(String, Messenger) - Constructor for class org.arl.fjage.AgentID
Constructor to create an owned agent id given the agent's name.
AgentID(String, boolean, Messenger) - Constructor for class org.arl.fjage.AgentID
Constructor to create an owned agent id for an agent or a topic.
AgentID(AgentID, Messenger) - Constructor for class org.arl.fjage.AgentID
Constructor to create an owned agent id from another agent id.
agentID - Variable in class org.arl.fjage.remote.JsonMessage
 
agentIDs - Variable in class org.arl.fjage.remote.JsonMessage
 
AgentLocalRandom - Class in org.arl.fjage
Utility class for random number generation in simulations.
AgentLocalRandom() - Constructor for class org.arl.fjage.AgentLocalRandom
 
agents - Variable in class org.arl.fjage.Container
 
agentsForService(String) - Method in class org.arl.fjage.Agent
Finds all agents that provides a named service.
agentsForService(Enum<?>) - Method in class org.arl.fjage.Agent
Finds all agents that provides a named service.
agentsForService(String) - Method in class org.arl.fjage.Behavior
Convenience method to find all agents that provides a named service.
agentsForService(Enum<?>) - Method in class org.arl.fjage.Behavior
Convenience method to find all agents that provides a named service.
agentsForService(String) - Method in class org.arl.fjage.Container
Finds all agents providing a named service.
agentsForService(String) - Method in class org.arl.fjage.remote.Gateway
Finds all agents that provides a named service.
agentsForService(Enum<?>) - Method in class org.arl.fjage.remote.Gateway
Finds all agents that provides a named service.
agentsForService(String) - Method in class org.arl.fjage.remote.MasterContainer
 
agentsForService(String) - Method in class org.arl.fjage.remote.SlaveContainer
 
AgentState - Enum in org.arl.fjage
State of the agent.
agentsToAdd - Variable in class org.arl.fjage.Container
 
agentTypes - Variable in class org.arl.fjage.remote.JsonMessage
 
ALL - Static variable in class org.arl.fjage.Agent
 
allOf(Class...) - Static method in class org.arl.fjage.param.ParameterMessageBehavior
Generate a list of parameters from a parameter enumeration.
AllowAfterAuth - Class in org.arl.fjage.auth
A permissive firewall that allows all traffic to pass through, but requires an authentication message to be first sent with any credentials.
AllowAfterAuth() - Constructor for class org.arl.fjage.auth.AllowAfterAuth
 
AllowAll - Class in org.arl.fjage.auth
A permissive firewall that allows all traffic to pass through.
AllowAll() - Constructor for class org.arl.fjage.auth.AllowAll
 
allowedAgentNames(String...) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.Policy
Allow send that have the specified agent names specified as a recipient.
allowedServiceNames(String...) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.Policy
Allow agentForService, agentsForService for the specified service names.
allowedTopicNames(String...) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.Policy
Allow subscribe to the specified topic names.
answer - Variable in class org.arl.fjage.remote.JsonMessage
 
auth - Variable in class org.arl.fjage.auth.AbstractFirewall
 
auth - Variable in class org.arl.fjage.remote.JsonMessage
 
authenticate(String) - Method in class org.arl.fjage.auth.AllowAfterAuth
 
authenticate(String) - Method in class org.arl.fjage.auth.AllowAll
 
authenticate(String) - Method in class org.arl.fjage.auth.DenyAll
 
authenticate(String) - Method in interface org.arl.fjage.auth.Firewall
Authenticates peer using specified credentials.
authenticate(String) - Method in class org.arl.fjage.remote.Gateway
Authenticate to server.
authenticate(String) - Method in class org.arl.fjage.remote.SlaveContainer
Authenticate to master container.
AuthFailureException - Exception in org.arl.fjage.auth
Authentication or authorization failure unchecked exception.
AuthFailureException() - Constructor for exception org.arl.fjage.auth.AuthFailureException
 
AuthFailureException(String) - Constructor for exception org.arl.fjage.auth.AuthFailureException
 
autoclone - Variable in class org.arl.fjage.Container
 
available() - Method in class org.arl.fjage.connectors.BlockingByteQueue
Gets the number of bytes available in the buffer.
available() - Method in class org.arl.fjage.connectors.PseudoInputStream
 
available() - Method in class org.arl.fjage.connectors.PseudoOutputStream
Get the number of bytes available in stream to read.

B

backoff(long) - Method in class org.arl.fjage.BackoffBehavior
This method is called from BackoffBehavior.onExpiry() if the backoff is to be extended.
BackoffBehavior - Class in org.arl.fjage
 
BackoffBehavior(long) - Constructor for class org.arl.fjage.BackoffBehavior
Creates a behavior that is executed after a specified backoff.
BackoffBehavior(long, Runnable) - Constructor for class org.arl.fjage.BackoffBehavior
Creates a behavior that is executed after a specified backoff.
Behavior - Class in org.arl.fjage
Base class for agent behaviors.
Behavior() - Constructor for class org.arl.fjage.Behavior
 
bind(Shell) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
bind(Shell) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
bind(Shell) - Method in interface org.arl.fjage.shell.ScriptEngine
Bind input/output shell.
block() - Method in class org.arl.fjage.Agent
Blocks the agent until its woken up by a message or a call to the Agent.wake() method.
block(long) - Method in class org.arl.fjage.Agent
Blocks the agent until its woken up by a message or a call to the Agent.wake() method or until timeout, whichever occurs earlier.
block() - Method in class org.arl.fjage.Behavior
Blocks the behavior.
block(long) - Method in class org.arl.fjage.Behavior
Blocks the behavior for a specified period of time.
block() - Method in class org.arl.fjage.FSMBehavior.State
Blocks the behavior.
block(long) - Method in class org.arl.fjage.FSMBehavior.State
Blocks the behavior.
BLOCK_SIZE - Static variable in class org.arl.fjage.connectors.BlockingByteQueue
 
BLOCKING - Static variable in class org.arl.fjage.Agent
Represents a blocking timeout of infinite time.
BLOCKING - Static variable in class org.arl.fjage.remote.Gateway
Represents a blocking timeout of infinite time.
BlockingByteQueue - Class in org.arl.fjage.connectors
Byte queue that allows streaming of byte data.
BlockingByteQueue() - Constructor for class org.arl.fjage.connectors.BlockingByteQueue
 
BriefLogFormatter - Class in org.arl.fjage
Utility class to format log entries for brief console display.
BriefLogFormatter() - Constructor for class org.arl.fjage.BriefLogFormatter
 
busy - Variable in class org.arl.fjage.shell.EchoScriptEngine
 
bytes - Variable in class org.arl.fjage.connectors.BlockingByteQueue
 

C

CACHE - Static variable in class org.arl.fjage.connectors.WebServer
 
call(Object) - Method in interface org.arl.fjage.Callback
 
Callback - Interface in org.arl.fjage
An interface representing a generic callback.
canLocateAgent(AgentID) - Method in class org.arl.fjage.Container
Checks if an agent can be located.
checkAssertions() - Method in class org.arl.fjage.TestBehavior
Throws any AssertionError that was encountered during the test.
checkAuthFailure(String) - Method in class org.arl.fjage.remote.SlaveContainer
Checks for authentication failure on send.
clazz - Variable in class org.arl.fjage.persistence.Store
 
clazzLoader - Variable in class org.arl.fjage.persistence.Store
 
clear() - Method in class org.arl.fjage.connectors.BlockingByteQueue
Clears the queue.
clear() - Method in class org.arl.fjage.connectors.PseudoInputStream
Clear the stream buffer.
clear() - Method in class org.arl.fjage.connectors.PseudoOutputStream
Clear the stream buffer.
clear() - Method in class org.arl.fjage.FSMBehavior
Clears the FSM states.
clear() - Method in class org.arl.fjage.GenericMessage
 
clear() - Method in class org.arl.fjage.MessageQueue
 
clear() - Method in class org.arl.fjage.param.ParameterReq
clears all parameter requests.
clear() - Method in class org.arl.fjage.param.ParameterRsp
Clears all parameter and values.
clearMessageListeners() - Method in class org.arl.fjage.shell.ShellAgent
Removes all message listeners.
clientThreads - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
clone(T) - Method in class org.arl.fjage.Agent
Deep clones an object.
clone(T) - Method in class org.arl.fjage.Container
Deep clones an object.
cloner - Variable in class org.arl.fjage.Container
 
close() - Method in interface org.arl.fjage.connectors.Connector
Close the connection.
close() - Method in class org.arl.fjage.connectors.PseudoInputStream
 
close() - Method in class org.arl.fjage.connectors.PseudoOutputStream
 
close() - Method in class org.arl.fjage.connectors.SerialPortConnector
 
close() - Method in class org.arl.fjage.connectors.TcpConnector
 
close() - Method in class org.arl.fjage.connectors.TcpHubConnector
Shutdown the TCP server.
close() - Method in class org.arl.fjage.connectors.TcpServer
Shutdown the TCP server.
close() - Method in class org.arl.fjage.connectors.WebSocketConnector
 
close() - Method in class org.arl.fjage.LogHandlerProxy
Close log output stream.
close() - Method in class org.arl.fjage.persistence.Store
Closes the store.
close() - Method in class org.arl.fjage.remote.Gateway
Closes the gateway.
closeQuietly(InputStream) - Static method in class org.arl.fjage.persistence.Store
Closes input stream quietly.
closeQuietly(OutputStream) - Static method in class org.arl.fjage.persistence.Store
Closes output stream quietly.
com - Variable in class org.arl.fjage.connectors.SerialPortConnector
 
commit(Iterable<MessageFilter>) - Method in class org.arl.fjage.MessageQueue
 
compareTo(AgentID) - Method in class org.arl.fjage.AgentID
Compares two agent ids to determine an ordering.
compareTo(Behavior) - Method in class org.arl.fjage.Behavior
Implements natural ordering based on behavior priority.
ConcurrentBinding - Class in org.arl.fjage.shell
A binding class that is thread-safe.
ConcurrentBinding() - Constructor for class org.arl.fjage.shell.ConcurrentBinding
 
connected(Connector) - Method in interface org.arl.fjage.connectors.ConnectionListener
 
connected(Connector) - Method in class org.arl.fjage.remote.MasterContainer
 
connected(Connector) - Method in class org.arl.fjage.shell.ConsoleShell
 
connectionClosed(ConnectionHandler) - Method in class org.arl.fjage.remote.MasterContainer
 
connectionClosed(ConnectionHandler) - Method in class org.arl.fjage.remote.SlaveContainer
 
ConnectionListener - Interface in org.arl.fjage.connectors
Interface to be implemented by clients wishing to listen to incoming connections.
Connector - Interface in org.arl.fjage.connectors
Any data transport service implemets this interface.
ConsoleShell - Class in org.arl.fjage.shell
Shell input/output driver for console devices with line editing and color support.
ConsoleShell() - Constructor for class org.arl.fjage.shell.ConsoleShell
Create a console shell attached to the system terminal.
ConsoleShell(InputStream, OutputStream) - Constructor for class org.arl.fjage.shell.ConsoleShell
Create a console shell attached to a specified input and output stream.
ConsoleShell(Connector) - Constructor for class org.arl.fjage.shell.ConsoleShell
Create a console shell attached to a specified connector.
consoleThread - Variable in class org.arl.fjage.shell.ShellAgent
 
Container - Class in org.arl.fjage
Container to manage agent lifecycle.
Container(Platform) - Constructor for class org.arl.fjage.Container
Creates a container.
Container(Platform, String) - Constructor for class org.arl.fjage.Container
Creates a named container.
container - Variable in class org.arl.fjage.remote.Gateway
 
containers - Variable in class org.arl.fjage.Platform
 
containsAgent(AgentID) - Method in class org.arl.fjage.Container
Checks if an agent exists in the container.
containsKey(Object) - Method in class org.arl.fjage.GenericMessage
 
containsValue(Object) - Method in class org.arl.fjage.GenericMessage
 
contexts - Variable in class org.arl.fjage.connectors.WebServer
 
create(Consumer<Message>) - Static method in class org.arl.fjage.MessageBehavior
Creates a new MessageBehavior which runs the specified Consumer on each incoming message.
create(Class<? extends Message>, Consumer<Message>) - Static method in class org.arl.fjage.MessageBehavior
Creates a new MessageBehavior which runs the specified Consumer on each incoming message that matches the message filter.
create(MessageFilter, Consumer<Message>) - Static method in class org.arl.fjage.MessageBehavior
Creates a new MessageBehavior which runs the specified Consumer on each incoming message that matches the message filter.
create(long, Runnable) - Static method in class org.arl.fjage.PoissonBehavior
Creates a new PoissonBehavior which runs the specified Runnable on each arrival.
create(long, Runnable) - Static method in class org.arl.fjage.TickerBehavior
Creates a new TickerBehavior which runs the specified Runnable every specified period.
create(long, Runnable) - Static method in class org.arl.fjage.WakerBehavior
Creates a new WakerBehavior which runs the specified Runnable once the specified delay expires.
createWebSocket(ServletUpgradeRequest, ServletUpgradeResponse) - Method in class org.arl.fjage.connectors.WebSocketConnector
 
creds - Variable in class org.arl.fjage.remote.JsonMessage
 
current() - Static method in class org.arl.fjage.AgentLocalRandom
Returns the current agent's AgentLocalRandom.
currentTimeMillis() - Method in class org.arl.fjage.Agent
Gets the current platform time in milliseconds.
currentTimeMillis() - Method in class org.arl.fjage.DiscreteEventSimulator
 
currentTimeMillis() - Method in class org.arl.fjage.Platform
Gets the current platform time in milliseconds.
currentTimeMillis() - Method in class org.arl.fjage.RealTimePlatform
 
currentTimeMillis() - Method in interface org.arl.fjage.TimestampProvider
Gets the current platform time in milliseconds.
CyclicBehavior - Class in org.arl.fjage
A behavior that is called cyclically.
CyclicBehavior() - Constructor for class org.arl.fjage.CyclicBehavior
Creates a behavior that is executed cyclically.
CyclicBehavior(Runnable) - Constructor for class org.arl.fjage.CyclicBehavior
Creates a behavior that is executed cyclically.

D

defaultClazzLoader - Static variable in class org.arl.fjage.persistence.Store
 
delay(long) - Method in class org.arl.fjage.Agent
Blocks the agent for a specified period.
delay(long) - Method in class org.arl.fjage.DiscreteEventSimulator
 
delay(long) - Method in class org.arl.fjage.Platform
Delays execution by a specified number of milliseconds of platform time.
delay(long) - Method in class org.arl.fjage.RealTimePlatform
 
delete() - Method in class org.arl.fjage.persistence.Store
Deletes the data store.
deliver(Message) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
deliver(Message) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
deliver(Message) - Method in interface org.arl.fjage.shell.ScriptEngine
Deliver message to user, typically by displaying it on the shell in an appropriate format.
DenyAll - Class in org.arl.fjage.auth
A reluctant firewall that denies all traffic to pass through.
DenyAll() - Constructor for class org.arl.fjage.auth.DenyAll
 
deregister(String) - Method in class org.arl.fjage.Agent
De-registers the agent from the directory service as a provider of a named service.
deregister(Enum<?>) - Method in class org.arl.fjage.Agent
De-registers the agent from the directory service as a provider of a named service.
deregister(AgentID, String) - Method in class org.arl.fjage.Container
Deregisters an agent as a provider of a specific service.
deregister(AgentID) - Method in class org.arl.fjage.Container
Deregisters an agent as a provider of all services.
die(Throwable) - Method in class org.arl.fjage.Agent
Called by the container if the agent terminates abnormally.
DiscreteEventSimulator - Class in org.arl.fjage
Discrete event simulation platform.
DiscreteEventSimulator() - Constructor for class org.arl.fjage.DiscreteEventSimulator
Creates a DiscreteEventSimulator that runs as fast as possible.
DiscreteEventSimulator(float) - Constructor for class org.arl.fjage.DiscreteEventSimulator
Creates a DiscreteEventSimulator that runs approximately at speed x realtime, ignoring processing time.
doc - Variable in class org.arl.fjage.shell.Documentation
 
doClone - Variable in class org.arl.fjage.Container
 
Documentation - Class in org.arl.fjage.shell
 
Documentation() - Constructor for class org.arl.fjage.shell.Documentation
 
done() - Method in class org.arl.fjage.BackoffBehavior
Returns true once BackoffBehavior.stop() is called, false otherwise.
done() - Method in class org.arl.fjage.Behavior
This method should return true if the behavior is completed, false otherwise.
done() - Method in class org.arl.fjage.CyclicBehavior
This method returns false until stop() is called.
done() - Method in class org.arl.fjage.FSMBehavior
 
done() - Method in class org.arl.fjage.MessageBehavior
This method always returns false, since this behavior never terminates.
done() - Method in class org.arl.fjage.OneShotBehavior
This method always returns true, since this behavior is called only once.
done() - Method in class org.arl.fjage.PoissonBehavior
Returns true once PoissonBehavior.stop() is called, false otherwise.
done() - Method in class org.arl.fjage.TickerBehavior
Returns true once TickerBehavior.stop() is called, false otherwise.
done() - Method in class org.arl.fjage.WakerBehavior
Returns false until the delay expires, and true once the delay has expired and the WakerBehavior.onWake() method has been called.
DumbShell - Class in org.arl.fjage.shell
Shell input/output driver for dumb console devices (with no terminal escape sequences support).
DumbShell() - Constructor for class org.arl.fjage.shell.DumbShell
Create a dumb console shell attached to the system terminal.
DumbShell(InputStream, OutputStream) - Constructor for class org.arl.fjage.shell.DumbShell
Create a dumb console shell attached to a specified input and output stream.
DumbShell(Connector) - Constructor for class org.arl.fjage.shell.DumbShell
Create a dumb console shell attached to a specified connector.

E

EchoScriptEngine - Class in org.arl.fjage.shell
Implements a simple script engine that simply echoes whatever is sent to it.
EchoScriptEngine() - Constructor for class org.arl.fjage.shell.EchoScriptEngine
 
enable(Class<?>) - Static method in class org.arl.fjage.remote.EnumTypeAdapter
Registers additional class that requires special handling for JSON serialization.
enable(boolean) - Method in class org.arl.fjage.shell.ShellAgent
Enable/disable user interaction in shell.
enabled - Variable in class org.arl.fjage.shell.ShellAgent
 
engine - Variable in class org.arl.fjage.shell.ShellAgent
 
entrySet() - Method in class org.arl.fjage.GenericMessage
 
EnumTypeAdapter - Class in org.arl.fjage.remote
Type adapter used for custom serialization of enums.
EnumTypeAdapter() - Constructor for class org.arl.fjage.remote.EnumTypeAdapter
 
ephemeral - Variable in class org.arl.fjage.shell.ShellAgent
 
equals(Object) - Method in class org.arl.fjage.AgentID
Compares this agent id with another object.
equals(Object) - Method in class org.arl.fjage.GenericValue
 
equals(Object) - Method in class org.arl.fjage.param.NamedParameter
Compares if two named parameters are equal.
error(Object) - Method in class org.arl.fjage.shell.ConsoleShell
 
error(Object) - Method in class org.arl.fjage.shell.DumbShell
 
error(Object) - Method in interface org.arl.fjage.shell.Shell
Display error.
exec(String) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
exec(File) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
exec(File, List<String>) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
exec(Class<?>) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
exec(Class<?>, List<String>) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
exec(Reader, String) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
exec(Reader, String, List<String>) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
exec(String) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
exec(File) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
exec(File, List<String>) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
exec(Class<?>) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
exec(Class<?>, List<String>) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
exec(Reader, String) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
exec(Reader, String, List<String>) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
exec(String) - Method in interface org.arl.fjage.shell.ScriptEngine
Execute a command.
exec(File) - Method in interface org.arl.fjage.shell.ScriptEngine
Execute a script file.
exec(File, List<String>) - Method in interface org.arl.fjage.shell.ScriptEngine
Execute a script file.
exec(Class<?>) - Method in interface org.arl.fjage.shell.ScriptEngine
Execute a precompiled script.
exec(Class<?>, List<String>) - Method in interface org.arl.fjage.shell.ScriptEngine
Execute a precomplied script.
exec(Reader, String) - Method in interface org.arl.fjage.shell.ScriptEngine
Execute a script from a reader.
exec(Reader, String, List<String>) - Method in interface org.arl.fjage.shell.ScriptEngine
Execute a script from a reader.
exec - Variable in class org.arl.fjage.shell.ShellAgent
 
executor - Variable in class org.arl.fjage.shell.ShellAgent
 

F

FAST_CLONER - Static variable in class org.arl.fjage.Container
 
finalize() - Method in class org.arl.fjage.remote.Gateway
 
findPolicy(String) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier
Find a policy.
findUserByCredentials(String) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier
Find a user by credentials.
FINE - Static variable in class org.arl.fjage.Agent
 
FINER - Static variable in class org.arl.fjage.Agent
 
FINEST - Static variable in class org.arl.fjage.Agent
 
Firewall - Interface in org.arl.fjage.auth
Firewall interface for API access to fjage master containers.
FjageException - Exception in org.arl.fjage
Java agent framework unchecked exception.
FjageException(String) - Constructor for exception org.arl.fjage.FjageException
 
flush() - Method in class org.arl.fjage.LogHandlerProxy
Flush log output stream.
flush() - Method in class org.arl.fjage.remote.Gateway
Flushes the incoming message queue.
format(LogRecord) - Method in class org.arl.fjage.BriefLogFormatter
Formats the logs.
format(LogRecord) - Method in class org.arl.fjage.LogFormatter
Formats the logs.
fromJson(String) - Static method in class org.arl.fjage.remote.JsonMessage
 
fsm - Variable in class org.arl.fjage.FSMBehavior.State
Parent FSM.
FSMBehavior - Class in org.arl.fjage
Finite state machine (FSM) behavior.
FSMBehavior() - Constructor for class org.arl.fjage.FSMBehavior
Creates a FSM behavior.
FSMBehavior(FSMBehavior.State...) - Constructor for class org.arl.fjage.FSMBehavior
Creates a FSM behavior.
FSMBehavior.State - Class in org.arl.fjage
FSM state behavior.

G

Gateway - Class in org.arl.fjage.remote
Gateway to communicate with agents from Java classes.
Gateway() - Constructor for class org.arl.fjage.remote.Gateway
 
Gateway(Platform, String, int) - Constructor for class org.arl.fjage.remote.Gateway
Creates a gateway connecting to a specified master container over TCP/IP.
Gateway(String, int) - Constructor for class org.arl.fjage.remote.Gateway
Creates a gateway connecting to a specified master container over TCP/IP.
Gateway(Platform, String, int, String) - Constructor for class org.arl.fjage.remote.Gateway
Creates a gateway connecting to a specified master container over RS232.
Gateway(String, int, String) - Constructor for class org.arl.fjage.remote.Gateway
Creates a gateway connecting to a specified master container over RS232.
Gateway(Container) - Constructor for class org.arl.fjage.remote.Gateway
Creates a gateway based on an exsiting container.
GenericMessage - Class in org.arl.fjage
A message class that can convey generic messages represented by key-value pairs.
GenericMessage() - Constructor for class org.arl.fjage.GenericMessage
Creates an empty generic message.
GenericMessage(Performative) - Constructor for class org.arl.fjage.GenericMessage
Creates a generic new message.
GenericMessage(AgentID) - Constructor for class org.arl.fjage.GenericMessage
Creates a generic new message.
GenericMessage(AgentID, Performative) - Constructor for class org.arl.fjage.GenericMessage
Creates a generic new message.
GenericMessage(Message) - Constructor for class org.arl.fjage.GenericMessage
Creates a generic response message.
GenericMessage(Message, Performative) - Constructor for class org.arl.fjage.GenericMessage
Creates a generic response message.
GenericValue - Class in org.arl.fjage
 
GenericValue(Object) - Constructor for class org.arl.fjage.GenericValue
 
get(Parameter) - Method in class org.arl.fjage.AgentID
Sends a parameter request to the agent represented by this id and returns the parameter value from the agent, or null if unavailable.
get(Parameter, int) - Method in class org.arl.fjage.AgentID
Sends a parameter request to the agent represented by this id and returns the parameter value from the agent, or null if unavailable.
get() - Method in class org.arl.fjage.auth.SimpleFirewallSupplier
 
get(Object) - Method in class org.arl.fjage.GenericMessage
 
get(Object, String) - Method in class org.arl.fjage.GenericMessage
Gets the string value associated with a key.
get(Object, int) - Method in class org.arl.fjage.GenericMessage
Gets the integer value associated with a key.
get(Object, long) - Method in class org.arl.fjage.GenericMessage
Gets the long value associated with a key.
get(Object, double) - Method in class org.arl.fjage.GenericMessage
Gets the double value associated with a key.
get() - Method in class org.arl.fjage.MessageQueue
 
get(MessageFilter) - Method in class org.arl.fjage.MessageQueue
 
get(Parameter) - Method in class org.arl.fjage.param.ParameterReq
Requests a parameter.
get(List<? extends Parameter>) - Method in class org.arl.fjage.param.ParameterReq
Requests a list of parameters.
get(Parameter) - Method in class org.arl.fjage.param.ParameterRsp
Gets the queried parameter value.
get() - Method in class org.arl.fjage.shell.Documentation
Get documentation index.
get(String) - Method in class org.arl.fjage.shell.Documentation
Get documentation by keyword.
getAgent(AgentID) - Method in class org.arl.fjage.Container
Gets an agent given its id.
getAgentID() - Method in class org.arl.fjage.Agent
Gets the agent id.
getAgentID() - Method in class org.arl.fjage.remote.Gateway
Gets the agent ID associated with the gateway.
getAgents() - Method in class org.arl.fjage.Container
Gets all agent ids in the container.
getAgents() - Method in class org.arl.fjage.remote.MasterContainer
 
getAgents() - Method in class org.arl.fjage.remote.SlaveContainer
 
getAns() - Method in class org.arl.fjage.shell.ShellExecReq
Get the flag that indicates whether the output from the command should be returned in the response, when possible.
getAutoClone() - Method in class org.arl.fjage.Container
Returns whether autoclone is enabled.
getBuildVersion() - Static method in class org.arl.fjage.Platform
Get build version information from JAR.
getById(Class<T>, String) - Method in class org.arl.fjage.persistence.Store
Gets an object in the store.
getByType(Class<T>) - Method in class org.arl.fjage.persistence.Store
Gets all objects of a given class in the store.
getCommand() - Method in class org.arl.fjage.shell.ShellExecReq
Get the command to execute.
getConnectors() - Method in class org.arl.fjage.remote.MasterContainer
Gets a list of connector URLs that slaves can use to access the master container.
getContainer() - Method in class org.arl.fjage.Agent
Gets the container hosting the agent.
getContainer() - Method in class org.arl.fjage.remote.Gateway
Gets the container for the gateway.
getContainers() - Method in class org.arl.fjage.Platform
Gets all the containers on the platform.
getContents() - Method in class org.arl.fjage.shell.GetFileRsp
Get the contents of the file.
getContents() - Method in class org.arl.fjage.shell.PutFileReq
Get the contents to write to the file.
getCredentials() - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.User
Gets the user credentials.
getCurrentState() - Method in class org.arl.fjage.FSMBehavior
Gets the current state name.
getDescription() - Method in class org.arl.fjage.shell.ShellAgent
Get description of the shell agent.
getFilename() - Method in class org.arl.fjage.shell.GetFileReq
Get the name of the file/directory.
getFilename() - Method in class org.arl.fjage.shell.GetFileRsp
Get the name of the file/directory.
getFilename() - Method in class org.arl.fjage.shell.PutFileReq
Get the name of the file.
GetFileReq - Class in org.arl.fjage.shell
Request to read a file or a directory.
GetFileReq() - Constructor for class org.arl.fjage.shell.GetFileReq
Create an empty request for file/directory.
GetFileReq(AgentID) - Constructor for class org.arl.fjage.shell.GetFileReq
Create an empty request for file/directory.
GetFileReq(String) - Constructor for class org.arl.fjage.shell.GetFileReq
Create request for file/directory.
GetFileReq(AgentID, String) - Constructor for class org.arl.fjage.shell.GetFileReq
Create request for file/directory.
GetFileReq(String, long, long) - Constructor for class org.arl.fjage.shell.GetFileReq
Create request for partial file.
GetFileReq(AgentID, String, long, long) - Constructor for class org.arl.fjage.shell.GetFileReq
Create request for partial file.
GetFileRsp - Class in org.arl.fjage.shell
Response to a GetFileReq, with the contents of the file or the directory.
GetFileRsp(GetFileReq) - Constructor for class org.arl.fjage.shell.GetFileRsp
Create a response to the ShellGetFileReq.
getHostname() - Method in class org.arl.fjage.Platform
Gets the hostname for the platform.
getId(Serializable) - Method in class org.arl.fjage.persistence.Store
Gets the ID for an object.
getIndex() - Method in class org.arl.fjage.param.ParameterReq
Gets the index for index based parameters.
getIndex() - Method in class org.arl.fjage.param.ParameterRsp
Gets the index.
getInputStream() - Method in interface org.arl.fjage.connectors.Connector
Get the input stream to read data over.
getInputStream() - Method in class org.arl.fjage.connectors.SerialPortConnector
 
getInputStream() - Method in class org.arl.fjage.connectors.TcpConnector
 
getInputStream() - Method in class org.arl.fjage.connectors.TcpHubConnector
 
getInputStream() - Method in class org.arl.fjage.connectors.WebSocketConnector
 
getInReplyTo() - Method in class org.arl.fjage.Message
Gets the message id of the associated request message.
getInstance(int) - Static method in class org.arl.fjage.connectors.WebServer
Gets an instance of a web server running on the specified port.
getInstance(int, String) - Static method in class org.arl.fjage.connectors.WebServer
Gets an instance of a web server running on the specified port.
getInstance(Agent) - Static method in class org.arl.fjage.persistence.Store
Gets a store instance for an agent.
getInstances() - Static method in class org.arl.fjage.connectors.WebServer
Gets all web server instances running.
getJsonCache() - Method in class org.arl.fjage.Message
Gets the Cached JSON String (if any)
getLanguage() - Method in class org.arl.fjage.shell.ShellAgent
Get supported script language.
getLength() - Method in class org.arl.fjage.shell.GetFileReq
Get number of bytes to read from file.
getMessageID() - Method in class org.arl.fjage.Message
Gets the unique identifier for this message.
getName() - Method in class org.arl.fjage.Agent
Gets the name of the agent.
getName() - Method in class org.arl.fjage.AgentID
Gets the name of the agent or topic.
getName() - Method in interface org.arl.fjage.connectors.Connector
Get a string representation of the connection.
getName() - Method in class org.arl.fjage.connectors.SerialPortConnector
 
getName() - Method in class org.arl.fjage.connectors.TcpConnector
 
getName() - Method in class org.arl.fjage.connectors.WebSocketConnector
 
getName() - Method in class org.arl.fjage.Container
Gets the name of the container.
getName() - Method in class org.arl.fjage.FSMBehavior.State
Gets the name of the FSM state.
getNetworkInterface() - Method in class org.arl.fjage.Platform
Gets a network interface that the platform is bound to.
getOffset() - Method in class org.arl.fjage.shell.GetFileReq
Get the start location in file to read from.
getOffset() - Method in class org.arl.fjage.shell.GetFileRsp
Get the start location in file.
getOffset() - Method in class org.arl.fjage.shell.PutFileReq
Get the start location in file to write to.
getOutputStream() - Method in interface org.arl.fjage.connectors.Connector
Get the output stream to write data to.
getOutputStream() - Method in class org.arl.fjage.connectors.SerialPortConnector
 
getOutputStream() - Method in class org.arl.fjage.connectors.TcpConnector
 
getOutputStream() - Method in class org.arl.fjage.connectors.TcpHubConnector
 
getOutputStream() - Method in class org.arl.fjage.connectors.WebSocketConnector
 
getOwner() - Method in class org.arl.fjage.AgentID
Gets the owner of the agent id.
getParam(Parameter, int) - Method in class org.arl.fjage.param.ParameterMessageBehavior
Agents providing dynamic parameters may override this method to provide a value for a given parameter.
getParameterList() - Method in class org.arl.fjage.param.ParameterMessageBehavior
An agent supporting dynamic parameters may override this to return a list of parameters available.
getParameterList(int) - Method in class org.arl.fjage.param.ParameterMessageBehavior
An agent supporting dynamic parameters may override this to return a list of parameters available.
getParameters() - Method in class org.arl.fjage.param.ParameterRsp
Gets all requested parameters as map.
getPerformative() - Method in class org.arl.fjage.Message
Gets the performative for this message.
getPlatform() - Method in class org.arl.fjage.Agent
Gets the platform hosting the agent.
getPlatform() - Method in class org.arl.fjage.Container
Gets the platform on which the container runs.
getPlatform() - Method in class org.arl.fjage.remote.Gateway
Gets the platform for the gateway.
getPolicyId() - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.User
Gets the policy ID.
getPort() - Method in class org.arl.fjage.connectors.TcpHubConnector
Get the TCP port on which the server listens for connections.
getPort() - Method in class org.arl.fjage.connectors.TcpServer
Get the TCP port on which the server listens for connections.
getPort() - Method in class org.arl.fjage.connectors.WebServer
Gets the port number that the web server is running on.
getPort() - Method in class org.arl.fjage.remote.MasterContainer
Gets the TCP port on which the master container listens for connections.
getPriority() - Method in class org.arl.fjage.Behavior
This method should return a number that denotes the priority of a behavior.
getPriority() - Method in class org.arl.fjage.CyclicBehavior
 
getPriority() - Method in class org.arl.fjage.MessageBehavior
Message behaviors with filters return a priority value of -100 to allow them to be executed before general message behaviors (no filters, priority value of 0).
getPriority() - Method in class org.arl.fjage.PoissonBehavior
 
getPriority() - Method in class org.arl.fjage.TickerBehavior
 
getPriority() - Method in class org.arl.fjage.WakerBehavior
 
getPrompt(boolean) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
getPrompt(boolean) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
getPrompt(boolean) - Method in interface org.arl.fjage.shell.ScriptEngine
Get the command prompt.
getRecipient() - Method in class org.arl.fjage.Message
Gets the recipient of this message.
getScriptArgs() - Method in class org.arl.fjage.shell.ShellExecReq
Get the script arguments.
getScriptFile() - Method in class org.arl.fjage.shell.ShellExecReq
Get the script to execute.
getSender() - Method in class org.arl.fjage.Message
Gets the sender of this message.
getSentAt() - Method in class org.arl.fjage.Message
Gets the timestamp (milliseconds since epoch) that this message was sent at.
getSerialPort() - Method in class org.arl.fjage.connectors.SerialPortConnector
Get the underlying serial port.
getServices() - Method in class org.arl.fjage.Container
Gets a list of all services that agents in this container provide.
getServices() - Method in class org.arl.fjage.remote.MasterContainer
 
getServices() - Method in class org.arl.fjage.remote.SlaveContainer
 
getState() - Method in class org.arl.fjage.Agent
Gets the state of the agent.
getState() - Method in class org.arl.fjage.Container
Gets human readble state information for container.
getState() - Method in class org.arl.fjage.remote.SlaveContainer
 
getStore() - Method in class org.arl.fjage.Agent
Gets a persistent store for the agent.
getTickCount() - Method in class org.arl.fjage.PoissonBehavior
Returns the number of times the PoissonBehavior.onTick() method of this behavior has been called (including any ongoing call).
getTickCount() - Method in class org.arl.fjage.TickerBehavior
Returns the number of times the TickerBehavior.onTick() method of this behavior has been called (including any ongoing call).
getTitle() - Method in class org.arl.fjage.shell.ShellAgent
Get title of the shell agent.
getType() - Method in class org.arl.fjage.Agent
Gets class name of agent.
getType() - Method in class org.arl.fjage.AgentID
Gets the type of the agent, if available.
getType() - Method in class org.arl.fjage.GenericValue
 
getUsername() - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.User
Gets the user name.
getValue() - Method in class org.arl.fjage.GenericValue
 
getValue() - Method in class org.arl.fjage.param.ParameterReq.Entry
 
getVariable(String) - Method in class org.arl.fjage.shell.ConcurrentBinding
 
getVariable(String) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
getVariable(String) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
getVariable(String) - Method in interface org.arl.fjage.shell.ScriptEngine
Get value of script variable.
getWakeupTime() - Method in class org.arl.fjage.WakerBehavior
Returns the wakeup time for this behavior.
getYieldDuringReceive() - Method in class org.arl.fjage.Agent
Checks if messages will be processed during a blocking receive().
GroovyBoot - Class in org.arl.fjage.shell
fjage bootloader.
GroovyBoot() - Constructor for class org.arl.fjage.shell.GroovyBoot
 
GroovyScriptEngine - Class in org.arl.fjage.shell
Groovy scripting engine.
GroovyScriptEngine() - Constructor for class org.arl.fjage.shell.GroovyScriptEngine
 
GroovyScriptEngine(GroovyClassLoader) - Constructor for class org.arl.fjage.shell.GroovyScriptEngine
 
GroovyScriptEngine(ClassLoader) - Constructor for class org.arl.fjage.shell.GroovyScriptEngine
 

H

handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class org.arl.fjage.connectors.WebServer.UploadHandler
 
handler - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
handlerCollection - Variable in class org.arl.fjage.connectors.WebServer
 
hasCompleted() - Method in class org.arl.fjage.TestBehavior
Checks if the test has been completed.
hasContext(String) - Method in class org.arl.fjage.connectors.WebServer
Checks if a context is already configured to serve documents.
hashCode() - Method in class org.arl.fjage.AgentID
Computes a hashcode for the agent id.
hashCode() - Method in class org.arl.fjage.GenericValue
 
hashCode() - Method in class org.arl.fjage.param.NamedParameter
Gets the hashcode value.
hasInstance(int) - Static method in class org.arl.fjage.connectors.WebServer
Checks if an instance of a web server is running on the specified port.
hasVariable(String) - Method in class org.arl.fjage.shell.ConcurrentBinding
 
heading - Variable in class org.arl.fjage.shell.Documentation
 

I

id - Variable in class org.arl.fjage.remote.JsonMessage
 
idle - Variable in class org.arl.fjage.Container
 
idle() - Method in class org.arl.fjage.DiscreteEventSimulator
 
idle() - Method in class org.arl.fjage.Platform
Internal method called by a container when all agents are idle.
idle() - Method in class org.arl.fjage.RealTimePlatform
 
ignoreExceptions - Variable in class org.arl.fjage.Agent
 
importClasses(String) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
importClasses(String) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
importClasses(String) - Method in interface org.arl.fjage.shell.ScriptEngine
Make classes accessible from script without qualified names.
index - Variable in class org.arl.fjage.param.ParameterReq
 
index - Variable in class org.arl.fjage.param.ParameterRsp
 
INFO - Static variable in class org.arl.fjage.Agent
 
init() - Method in class org.arl.fjage.Agent
Called by the container when the agent is started.
init(int, String, int) - Method in class org.arl.fjage.connectors.WebSocketConnector
 
init() - Method in class org.arl.fjage.remote.Gateway
 
init(ScriptEngine) - Method in class org.arl.fjage.shell.ConsoleShell
 
init(ScriptEngine) - Method in class org.arl.fjage.shell.DumbShell
 
init(ScriptEngine) - Method in interface org.arl.fjage.shell.Shell
Initialize the shell.
init() - Method in class org.arl.fjage.shell.ShellAgent
 
initComplete() - Method in class org.arl.fjage.Container
Called when the container is initialized.
initComplete() - Method in class org.arl.fjage.remote.MasterContainer
 
initComplete() - Method in class org.arl.fjage.remote.SlaveContainer
 
inited - Variable in class org.arl.fjage.Container
 
initing - Variable in class org.arl.fjage.Container
 
initScripts - Variable in class org.arl.fjage.shell.ShellAgent
 
input(Object) - Method in class org.arl.fjage.shell.ConsoleShell
 
input(Object) - Method in class org.arl.fjage.shell.DumbShell
 
input() - Method in class org.arl.fjage.shell.EchoScriptEngine
 
input() - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
input() - Method in interface org.arl.fjage.shell.ScriptEngine
Gets an input offered by ScriptEngine.offer(String).
input(Object) - Method in interface org.arl.fjage.shell.Shell
Display input line.
inReplyTo - Variable in class org.arl.fjage.Message
 
inResponseTo - Variable in class org.arl.fjage.remote.JsonMessage
 
install(Logger) - Static method in class org.arl.fjage.LogFormatter
Installs this formatter for all handlers in the root logger.
install(TimestampProvider, Logger) - Static method in class org.arl.fjage.LogHandlerProxy
Installs this handler for all handlers in the root logger.
instances - Static variable in class org.arl.fjage.persistence.Store
 
isBlocked() - Method in class org.arl.fjage.Behavior
Returns true if the behavior is blocked, false otherwise.
isBlocked() - Method in class org.arl.fjage.FSMBehavior.State
Checks if the behavior is blocked.
isBusy() - Method in class org.arl.fjage.shell.EchoScriptEngine
 
isBusy() - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
isBusy() - Method in interface org.arl.fjage.shell.ScriptEngine
Check if script is currently being executed.
isCache - Variable in class org.arl.fjage.shell.ShellAgent
 
isComplete(String) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
isComplete(String) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
isComplete(String) - Method in interface org.arl.fjage.shell.ScriptEngine
Checks if a string is a complete command.
isDirectory() - Method in class org.arl.fjage.shell.GetFileRsp
Checks if the file being returned is a directory.
isDumb() - Method in class org.arl.fjage.shell.ConsoleShell
 
isDumb() - Method in class org.arl.fjage.shell.DumbShell
 
isDumb() - Method in interface org.arl.fjage.shell.Shell
Check if terminal supports ANSI control sequences.
isDuplicate(AgentID) - Method in class org.arl.fjage.Container
Checks if an agent id already exists in the container.
isDuplicate(AgentID) - Method in class org.arl.fjage.remote.MasterContainer
 
isDuplicate(AgentID) - Method in class org.arl.fjage.remote.SlaveContainer
 
isEmpty() - Method in class org.arl.fjage.GenericMessage
 
isEnabled() - Method in class org.arl.fjage.shell.ShellAgent
Checks if user interaction in shell is enabled.
isIdle() - Method in class org.arl.fjage.Container
Checks if all agents in the container are idle.
isIdle() - Method in class org.arl.fjage.Platform
Check if all containers on the platform are idle.
isPermitted(AgentID) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.Policy
Checks whether a message intended for the specified agent/topic may be sent over this connection.
isPermitted(JsonMessage) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.Policy
Checks whether a JSON message can be accepted over this connection.
isReadOnly(Parameter, int) - Method in class org.arl.fjage.param.ParameterMessageBehavior
Agents providing dynamic parameters may override this method to specify whether a parameter is read-only or read-write.
isReadonly(Parameter) - Method in class org.arl.fjage.param.ParameterRsp
Checks if a parameter is read-only.
isReliable() - Method in interface org.arl.fjage.connectors.Connector
Check if a connection is relaible.
isReliable() - Method in class org.arl.fjage.connectors.SerialPortConnector
 
isReliable() - Method in class org.arl.fjage.connectors.TcpConnector
 
isReliable() - Method in class org.arl.fjage.connectors.TcpHubConnector
 
isReliable() - Method in class org.arl.fjage.connectors.WebSocketConnector
 
isRunning() - Method in class org.arl.fjage.Container
Checks if the container is currently running.
isRunning() - Method in class org.arl.fjage.Platform
Check if any container on the platform is running.
isScript() - Method in class org.arl.fjage.shell.ShellExecReq
Check if the request is for a script.
isTopic() - Method in class org.arl.fjage.AgentID
Returns true if the agent id represents a topic.

J

JsonMessage - Class in org.arl.fjage.remote
Class representing a JSON request/response message.
JsonMessage() - Constructor for class org.arl.fjage.remote.JsonMessage
 

K

keySet() - Method in class org.arl.fjage.GenericMessage
 
kill(AgentID) - Method in class org.arl.fjage.Container
Terminates an agent.
kill(String) - Method in class org.arl.fjage.Container
Terminates an agent.
kill(AgentID) - Method in class org.arl.fjage.remote.SlaveContainer
 

L

length() - Method in class org.arl.fjage.MessageQueue
 
linemode - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
listener - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
listener - Variable in class org.arl.fjage.connectors.TcpServer
 
listener - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
listeners - Variable in class org.arl.fjage.Container
 
listeners - Variable in class org.arl.fjage.shell.ShellAgent
 
load(Class<T>, File) - Method in class org.arl.fjage.persistence.Store
Loads a stored object from a file.
log - Variable in class org.arl.fjage.Agent
Logger for the agent to log messages to.
log - Variable in class org.arl.fjage.auth.AbstractFirewall
 
log - Variable in class org.arl.fjage.Behavior
Logger for the behavior to log messages to.
log - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
log - Variable in class org.arl.fjage.connectors.TcpServer
 
log - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
log - Variable in class org.arl.fjage.Container
 
log - Variable in class org.arl.fjage.FSMBehavior.State
Logger for the behavior to log messages to.
LogFormatter - Class in org.arl.fjage
Utility class to format log entries.
LogFormatter() - Constructor for class org.arl.fjage.LogFormatter
 
LogHandlerProxy - Class in org.arl.fjage
Proxy log handler to allow discrete time stamps in logs when the discrete event platform is used.
LogHandlerProxy(Handler, TimestampProvider) - Constructor for class org.arl.fjage.LogHandlerProxy
Creates a proxy log handler with a given delegate using timestamps from the specified TimestampProvider.

M

main(String[]) - Static method in class org.arl.fjage.shell.GroovyBoot
Application entry point.
MasterContainer - Class in org.arl.fjage.remote
Master container supporting multiple remote slave containers.
MasterContainer(Platform) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a master container, runs its TCP server on an automatically selected port.
MasterContainer(Platform, Supplier<Firewall>) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a master container, runs its TCP server on an automatically selected port, with a specified firewall supplier.
MasterContainer(Platform, int) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a master container, runs its TCP server on a specified port.
MasterContainer(Platform, int, Supplier<Firewall>) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a master container, runs its TCP server on a specified port, with a specified firewall supplier.
MasterContainer(Platform, String) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a named master container, runs its TCP server on an automatically selected port.
MasterContainer(Platform, String, Supplier<Firewall>) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a named master container, runs its TCP server on an automatically selected port, with a specified firewall supplier.
MasterContainer(Platform, String, int) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a named master container, runs its TCP server on a specified port.
MasterContainer(Platform, String, int, Supplier<Firewall>) - Constructor for class org.arl.fjage.remote.MasterContainer
Creates a named master container, runs its TCP server on a specified port, with a specified firewall supplier.
matches(Message) - Method in interface org.arl.fjage.MessageFilter
Returns true if a message matches the criteria, false otherwise.
Message - Class in org.arl.fjage
Base class for messages transmitted by one agent to another.
Message() - Constructor for class org.arl.fjage.Message
Creates an empty message.
Message(Performative) - Constructor for class org.arl.fjage.Message
Creates a new message.
Message(AgentID) - Constructor for class org.arl.fjage.Message
Creates a new message.
Message(AgentID, Performative) - Constructor for class org.arl.fjage.Message
Creates a new message.
Message(Message) - Constructor for class org.arl.fjage.Message
Creates a response message.
Message(Message, Performative) - Constructor for class org.arl.fjage.Message
Creates a response message.
message - Variable in class org.arl.fjage.remote.JsonMessage
 
MessageBehavior - Class in org.arl.fjage
A behavior that continuously monitors the incoming message queue.
MessageBehavior() - Constructor for class org.arl.fjage.MessageBehavior
Creates a MessageBehavior that accepts all incoming messages.
MessageBehavior(Class<?>) - Constructor for class org.arl.fjage.MessageBehavior
Creates a MessageBehavior that accepts all incoming messages of a given class.
MessageBehavior(MessageFilter) - Constructor for class org.arl.fjage.MessageBehavior
Creates a MessageBehavior that accepts all incoming messages that meet a given MessageFilter criteria.
MessageBehavior(Consumer<Message>) - Constructor for class org.arl.fjage.MessageBehavior
Creates a MessageBehavior that accepts all incoming messages.
MessageBehavior(Class<?>, Consumer<Message>) - Constructor for class org.arl.fjage.MessageBehavior
Creates a MessageBehavior that accepts all incoming messages of a given class.
MessageBehavior(MessageFilter, Consumer<Message>) - Constructor for class org.arl.fjage.MessageBehavior
Creates a MessageBehavior that accepts all incoming messages that meet a given MessageFilter criteria.
MessageFilter - Interface in org.arl.fjage
An interface for a message filter.
MessageListener - Interface in org.arl.fjage
An interface for a client interested in monitoring messages.
MessageQueue - Class in org.arl.fjage
Internal class representing a message queue.
MessageQueue() - Constructor for class org.arl.fjage.MessageQueue
 
MessageQueue(int) - Constructor for class org.arl.fjage.MessageQueue
 
Messenger - Interface in org.arl.fjage
Interface implemented by classes that provide basic messaging services.
msgID - Variable in class org.arl.fjage.Message
 

N

name - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
name - Variable in class org.arl.fjage.Container
 
name() - Method in class org.arl.fjage.param.NamedParameter
Gets the parameter name.
name() - Method in interface org.arl.fjage.param.Parameter
Gets the parameter name.
name - Variable in class org.arl.fjage.remote.JsonMessage
 
NamedParameter - Class in org.arl.fjage.param
Class to define named parameters.
NamedParameter(String) - Constructor for class org.arl.fjage.param.NamedParameter
Constructs named parameter with specified name.
NamedParameter(String, int) - Constructor for class org.arl.fjage.param.NamedParameter
Constructs named parameter with given name and ordinal.
nanoTime() - Method in class org.arl.fjage.Agent
Gets the current platform time in nanoseconds.
nanoTime() - Method in class org.arl.fjage.DiscreteEventSimulator
 
nanoTime() - Method in class org.arl.fjage.Platform
Gets the current platform time in nanoseconds.
nanoTime() - Method in class org.arl.fjage.RealTimePlatform
 
nanoTime() - Method in interface org.arl.fjage.TimestampProvider
Gets the current platform time in nanoseconds.
ndx - Variable in class org.arl.fjage.shell.Documentation
 
nextDouble(double, double) - Method in class org.arl.fjage.AgentLocalRandom
Generates a random double.
nextExp(double) - Method in class org.arl.fjage.AgentLocalRandom
Generates an exponentially distributed random number with mean 1/lambda.
nextExp() - Method in class org.arl.fjage.AgentLocalRandom
Generates an exponentially distributed random number with unit mean.
nextGaussian(double, double) - Method in class org.arl.fjage.AgentLocalRandom
Generates a Gaussian distributed random number.
nextRayleigh(double) - Method in class org.arl.fjage.AgentLocalRandom
Generates a Rayleigh distributed random number.
nextRician(double, double) - Method in class org.arl.fjage.AgentLocalRandom
Generates a Rician distributed random number.
NOCACHE - Static variable in class org.arl.fjage.connectors.WebServer
 
NON_BLOCKING - Static variable in class org.arl.fjage.Agent
Represents a non-blocking timeout of 0 seconds.
NON_BLOCKING - Static variable in class org.arl.fjage.remote.Gateway
Represents a non-blocking timeout of 0 seconds.
notify(Object) - Method in class org.arl.fjage.shell.ConsoleShell
 
notify(Object) - Method in class org.arl.fjage.shell.DumbShell
 
notify(Object) - Method in interface org.arl.fjage.shell.Shell
Display unsolicited notification.

O

OFF - Static variable in class org.arl.fjage.Agent
 
offer(String) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
offer(String) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
offer(String) - Method in interface org.arl.fjage.shell.ScriptEngine
Offers a string input to a running script.
onAgree(Consumer<Message>) - Method in interface org.arl.fjage.RequestSender
Adds a message consumer to be invoked when an AGREE response is received.
onClose(int, String) - Method in class org.arl.fjage.connectors.WebSocketConnector.WSHandler
 
onConnect(Session) - Method in class org.arl.fjage.connectors.WebSocketConnector.WSHandler
 
onEnd() - Method in class org.arl.fjage.Behavior
This method is called when a behavior is completed.
onEnter() - Method in class org.arl.fjage.FSMBehavior.State
This method is called when the state is entered.
onError(Throwable) - Method in class org.arl.fjage.connectors.WebSocketConnector.WSHandler
 
OneShotBehavior - Class in org.arl.fjage
A behavior that is executed only once.
OneShotBehavior() - Constructor for class org.arl.fjage.OneShotBehavior
Creates a behavior that is executed only once.
OneShotBehavior(Runnable) - Constructor for class org.arl.fjage.OneShotBehavior
Creates a behavior that is executed only once.
onEvent(Object, Object) - Method in class org.arl.fjage.FSMBehavior.State
This method is called when an event is triggered.
onExit() - Method in class org.arl.fjage.FSMBehavior.State
This method is called when the state is exited.
onExpiry() - Method in class org.arl.fjage.BackoffBehavior
This method is called when the specified backoff period expires.
onFailure(Consumer<Message>) - Method in interface org.arl.fjage.RequestSender
Adds a message consumer to be invoked when a FAILURE response is received.
onInform(Consumer<Message>) - Method in interface org.arl.fjage.RequestSender
Adds a message consumer to be invoked when an INFORM message is received.
onMessage(String) - Method in class org.arl.fjage.connectors.WebSocketConnector.WSHandler
 
onParamChange(Parameter, int, Object) - Method in class org.arl.fjage.param.ParameterMessageBehavior
Agents may provide a behavior to be executed every time a parameter has been updated by overriding this method.
onReceive(Message) - Method in class org.arl.fjage.MessageBehavior
This method is called for each message meeting the acceptance criteria of this behavior.
onReceive(Message) - Method in interface org.arl.fjage.MessageListener
This method is called for each message to be conveyed to the listener.
onReceive(Message) - Method in class org.arl.fjage.param.ParameterMessageBehavior
 
onRefuse(Consumer<Message>) - Method in interface org.arl.fjage.RequestSender
Adds a message consumer to be invoked when a REFUSE response is received.
onStart() - Method in class org.arl.fjage.BackoffBehavior
Computes the wakeup time for the first execution of this behavior.
onStart() - Method in class org.arl.fjage.Behavior
This method is called when a behavior is added to an agent.
onStart() - Method in class org.arl.fjage.PoissonBehavior
Computes the wakeup time for the first execution of this behavior.
onStart() - Method in class org.arl.fjage.TickerBehavior
Computes the wakeup time for the first execution of this behavior.
onStart() - Method in class org.arl.fjage.WakerBehavior
Computes the wakeup time for this behavior.
onTick() - Method in class org.arl.fjage.PoissonBehavior
This method is called for each arrival.
onTick() - Method in class org.arl.fjage.TickerBehavior
This method is called once every specified period.
onTimeout(long, Runnable) - Method in interface org.arl.fjage.RequestSender
Adds a Runnable to be invoked when this operation times out.
onWake() - Method in class org.arl.fjage.WakerBehavior
This method is called once the specified delay for this behavior expires.
ordinal() - Method in class org.arl.fjage.param.NamedParameter
Gets the ordinal value.
ordinal() - Method in interface org.arl.fjage.param.Parameter
Gets the ordinal, provided by Enum automatically.
org.arl.fjage - package org.arl.fjage
Framework for Java and Groovy agents core classes.
org.arl.fjage.auth - package org.arl.fjage.auth
 
org.arl.fjage.connectors - package org.arl.fjage.connectors
Support for various connectors for shells and remote containers.
org.arl.fjage.param - package org.arl.fjage.param
Support for agent parameters.
org.arl.fjage.persistence - package org.arl.fjage.persistence
Persistence API.
org.arl.fjage.remote - package org.arl.fjage.remote
Support for multi-container deployments using JSON over TCP/IP.
org.arl.fjage.shell - package org.arl.fjage.shell
Support for interactive shell and command scripts.
otherwise(Consumer<Message>) - Method in interface org.arl.fjage.RequestSender
Adds a message consumer to be invoked when a message that is not one of AGREE, REFUSE, FAILURE, INFORM is received.
out - Variable in class org.arl.fjage.connectors.TcpConnector
 
outThread - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
outThread - Variable in class org.arl.fjage.connectors.WebSocketConnector
 

P

param - Variable in class org.arl.fjage.param.ParameterReq.Entry
Parameter.
param - Variable in class org.arl.fjage.param.ParameterReq
 
param - Variable in class org.arl.fjage.param.ParameterRsp
 
Parameter - Interface in org.arl.fjage.param
Interface to define parameters.
ParameterMessageBehavior - Class in org.arl.fjage.param
Behavior to handle parameter messages.
ParameterMessageBehavior() - Constructor for class org.arl.fjage.param.ParameterMessageBehavior
Creates a parameter message behavior with no parameters.
ParameterMessageBehavior(List<? extends Parameter>) - Constructor for class org.arl.fjage.param.ParameterMessageBehavior
Creates a parameter message behavior with parameters specified in a list.
ParameterMessageBehavior(Class...) - Constructor for class org.arl.fjage.param.ParameterMessageBehavior
Creates a parameter message behavior with parameters specified by enums.
ParameterReq - Class in org.arl.fjage.param
Request one or more parameters of an agent.
ParameterReq() - Constructor for class org.arl.fjage.param.ParameterReq
 
ParameterReq(AgentID) - Constructor for class org.arl.fjage.param.ParameterReq
 
ParameterReq.Entry - Class in org.arl.fjage.param
Representation for parameter and value.
ParameterRsp - Class in org.arl.fjage.param
Response message for ParameterReq.
ParameterRsp(Message) - Constructor for class org.arl.fjage.param.ParameterRsp
Constructs a response message.
parameters() - Method in class org.arl.fjage.param.ParameterRsp
Gets all requested parameters as set.
perf - Variable in class org.arl.fjage.Message
 
Performative - Enum in org.arl.fjage
An action represented by a message.
permit(JsonMessage) - Method in class org.arl.fjage.auth.AbstractFirewall
 
permit(AgentID) - Method in class org.arl.fjage.auth.AbstractFirewall
 
permit(JsonMessage) - Method in class org.arl.fjage.auth.AllowAll
 
permit(AgentID) - Method in class org.arl.fjage.auth.AllowAll
 
permit(JsonMessage) - Method in class org.arl.fjage.auth.DenyAll
 
permit(AgentID) - Method in class org.arl.fjage.auth.DenyAll
 
permit(JsonMessage) - Method in interface org.arl.fjage.auth.Firewall
Checks whether a JSON message can be accepted over this connection.
permit(AgentID) - Method in interface org.arl.fjage.auth.Firewall
Checks whether a message intended for the specified agent/topic may be sent over this connection.
pin - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
pin - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
platform - Variable in class org.arl.fjage.Container
 
Platform - Class in org.arl.fjage
Base class for platforms on which agent containers run.
Platform() - Constructor for class org.arl.fjage.Platform
 
platformSend(Message) - Method in class org.arl.fjage.Agent
Sends a message to the recipient indicated in the message on all containers running on the current platform.
PoissonBehavior - Class in org.arl.fjage
A behavior that simulates a Poisson arrival process.
PoissonBehavior(long) - Constructor for class org.arl.fjage.PoissonBehavior
Creates a behavior that simulates a Poisson arrival process with a specified average interarrival time.
PoissonBehavior(long, Runnable) - Constructor for class org.arl.fjage.PoissonBehavior
Creates a behavior that simulates a Poisson arrival process with a specified average interarrival time.
Policy() - Constructor for class org.arl.fjage.auth.SimpleFirewallSupplier.Policy
 
POLICY_ID_ALLOW_ALL - Static variable in class org.arl.fjage.auth.SimpleFirewallSupplier
Allow all policy ID.
port - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
port - Variable in class org.arl.fjage.connectors.TcpServer
 
port - Variable in class org.arl.fjage.connectors.WebServer
 
pout - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
pout - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
prepareRequest(Message) - Method in class org.arl.fjage.Agent
Prepares a request to be sent.
println(Object) - Method in class org.arl.fjage.Agent
Logs a message at an INFO level.
println(String) - Method in class org.arl.fjage.Behavior
Log a message at an INFO level.
println(Object) - Method in class org.arl.fjage.shell.ConsoleShell
 
println(Object) - Method in class org.arl.fjage.shell.DumbShell
 
println(String) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
println(Object) - Method in interface org.arl.fjage.shell.Shell
Display script output.
processParameterReq(ParameterReq, ParameterRsp) - Method in class org.arl.fjage.param.ParameterMessageBehavior
Default handling of parameter requests is provided by this method.
prompt(Object) - Method in class org.arl.fjage.shell.ConsoleShell
 
prompt(Object) - Method in class org.arl.fjage.shell.DumbShell
 
prompt(Object) - Method in interface org.arl.fjage.shell.Shell
Prompt user for input.
PseudoInputStream - Class in org.arl.fjage.connectors
An input stream backed by a byte buffer that can be dynamically written to.
PseudoInputStream() - Constructor for class org.arl.fjage.connectors.PseudoInputStream
 
PseudoOutputStream - Class in org.arl.fjage.connectors
An output stream backed by a byte buffer that can be read from.
PseudoOutputStream() - Constructor for class org.arl.fjage.connectors.PseudoOutputStream
 
publish(LogRecord) - Method in class org.arl.fjage.LogHandlerProxy
Publish log record with modified timestamp.
put(Object, Object) - Method in class org.arl.fjage.GenericMessage
 
put(Serializable) - Method in class org.arl.fjage.persistence.Store
Stores an object.
putAll(Map<? extends Object, ? extends Object>) - Method in class org.arl.fjage.GenericMessage
 
PutFileReq - Class in org.arl.fjage.shell
Request to write contents to a file, or delete a file.
PutFileReq() - Constructor for class org.arl.fjage.shell.PutFileReq
Create an empty request for file write.
PutFileReq(AgentID) - Constructor for class org.arl.fjage.shell.PutFileReq
Create an empty request for file write.
PutFileReq(String, byte[]) - Constructor for class org.arl.fjage.shell.PutFileReq
Create request for file write.
PutFileReq(String, byte[], long) - Constructor for class org.arl.fjage.shell.PutFileReq
Create request for file write.
PutFileReq(AgentID, String, byte[]) - Constructor for class org.arl.fjage.shell.PutFileReq
Create request for file write.
PutFileReq(AgentID, String, byte[], long) - Constructor for class org.arl.fjage.shell.PutFileReq
Create request for file write.

Q

q - Variable in class org.arl.fjage.connectors.PseudoInputStream
 
q - Variable in class org.arl.fjage.connectors.PseudoOutputStream
 
queue - Variable in class org.arl.fjage.connectors.BlockingByteQueue
 
quit - Variable in class org.arl.fjage.shell.ShellAgent
 

R

rbuf - Variable in class org.arl.fjage.connectors.BlockingByteQueue
 
read() - Method in class org.arl.fjage.connectors.BlockingByteQueue
Reads a byte from the queue.
read(byte[]) - Method in class org.arl.fjage.connectors.BlockingByteQueue
Reads a byte array from the queue.
read() - Method in class org.arl.fjage.connectors.PseudoInputStream
 
read(byte[], int, int) - Method in class org.arl.fjage.connectors.PseudoInputStream
 
read(byte[]) - Method in class org.arl.fjage.connectors.PseudoInputStream
 
read() - Method in class org.arl.fjage.connectors.PseudoOutputStream
Read a byte from the stream buffer.
read(byte[]) - Method in class org.arl.fjage.connectors.PseudoOutputStream
Read a byte buffer from the stream buffer.
read(JsonReader) - Method in class org.arl.fjage.remote.EnumTypeAdapter
 
readAvailable() - Method in class org.arl.fjage.connectors.BlockingByteQueue
Reads all available data from the queue.
readAvailable() - Method in class org.arl.fjage.connectors.PseudoOutputStream
Reads all available data from the stream buffer.
readDelimited(byte) - Method in class org.arl.fjage.connectors.BlockingByteQueue
Reads data from the queue until a delimiter is encountered.
readLine() - Method in class org.arl.fjage.connectors.PseudoOutputStream
Reads a line of text from the stream buffer.
readLine(String, String, String) - Method in class org.arl.fjage.shell.ConsoleShell
 
readLine(String, String, String) - Method in class org.arl.fjage.shell.DumbShell
 
readLine(String, String, String) - Method in interface org.arl.fjage.shell.Shell
Read a line from the shell.
readonly - Variable in class org.arl.fjage.param.ParameterRsp
 
RealTimePlatform - Class in org.arl.fjage
A platform that runs the agents in its containers in real-time.
RealTimePlatform() - Constructor for class org.arl.fjage.RealTimePlatform
 
receive(MessageFilter, long) - Method in class org.arl.fjage.Agent
 
receive(MessageFilter) - Method in class org.arl.fjage.Agent
 
receive() - Method in class org.arl.fjage.Agent
 
receive(long) - Method in class org.arl.fjage.Agent
 
receive(Class<?>) - Method in class org.arl.fjage.Agent
 
receive(Class<?>, long) - Method in class org.arl.fjage.Agent
 
receive(Message) - Method in class org.arl.fjage.Agent
 
receive(Message, long) - Method in class org.arl.fjage.Agent
 
receive() - Method in interface org.arl.fjage.Messenger
Returns a message received by the gateway.
receive(long) - Method in interface org.arl.fjage.Messenger
Returns a message received by the agent.
receive(Class<?>) - Method in interface org.arl.fjage.Messenger
Returns a message of a given class received by the gateway.
receive(Class<?>, long) - Method in interface org.arl.fjage.Messenger
Returns a message of a given class received by the gateway.
receive(Message) - Method in interface org.arl.fjage.Messenger
Returns a response message received by the gateway.
receive(Message, long) - Method in interface org.arl.fjage.Messenger
Returns a response message received by the gateway.
receive(MessageFilter) - Method in interface org.arl.fjage.Messenger
Returns a message received by the gateway and matching the given filter.
receive(MessageFilter, long) - Method in interface org.arl.fjage.Messenger
Returns a message received by the gateway and matching the given filter.
receive(MessageFilter, long) - Method in class org.arl.fjage.remote.Gateway
 
receive(MessageFilter) - Method in class org.arl.fjage.remote.Gateway
 
receive(long) - Method in class org.arl.fjage.remote.Gateway
 
receive() - Method in class org.arl.fjage.remote.Gateway
 
receive(Class<?>, long) - Method in class org.arl.fjage.remote.Gateway
 
receive(Class<?>) - Method in class org.arl.fjage.remote.Gateway
 
receive(Message, long) - Method in class org.arl.fjage.remote.Gateway
 
receive(Message) - Method in class org.arl.fjage.remote.Gateway
 
recipient - Variable in class org.arl.fjage.Message
 
reenterState() - Method in class org.arl.fjage.FSMBehavior
Request re-entry of the current state in the FSM.
register(String) - Method in class org.arl.fjage.Agent
Registers the agent with the directory service as a provider of a named service.
register(Enum<?>) - Method in class org.arl.fjage.Agent
Registers the agent with the directory service as a provider of a named service.
register(AgentID, String) - Method in class org.arl.fjage.Container
Registers an agent in the directory service as a provider of a named service.
relay - Variable in class org.arl.fjage.remote.JsonMessage
 
remove(ContextHandler) - Method in class org.arl.fjage.connectors.WebServer
Removes a context handler.
remove(String) - Method in class org.arl.fjage.connectors.WebServer
Removes a context serving static documents.
remove(Object) - Method in class org.arl.fjage.GenericMessage
 
remove(Serializable) - Method in class org.arl.fjage.persistence.Store
Removes an object from the store.
removeById(Class<T>, String) - Method in class org.arl.fjage.persistence.Store
Removes an object from the store.
removeByType(Class<T>) - Method in class org.arl.fjage.persistence.Store
Removes all objects of a given type from the store.
removeListener(MessageListener) - Method in class org.arl.fjage.Container
Removes a listener from the container.
removeMessageListener(MessageListener) - Method in class org.arl.fjage.shell.ShellAgent
Removes a message listener.
removePolicy(String) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier
Remove a policy.
removeUser(String) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier
Remove a user.
request(Message, long) - Method in class org.arl.fjage.Agent
 
request(Message) - Method in class org.arl.fjage.Agent
Sends a request and waits for a response.
request(Message) - Method in class org.arl.fjage.AgentID
Sends a request to the agent represented by this id and waits for a return message for 1 second.
request(Message, long) - Method in class org.arl.fjage.AgentID
Sends a request to the agent represented by this id and waits for a return message for a specified timeout.
request(Message, long) - Method in interface org.arl.fjage.Messenger
Sends a request and waits for a response.
request(Message) - Method in interface org.arl.fjage.Messenger
Sends a request and waits for a response.
request(Message, long) - Method in class org.arl.fjage.remote.Gateway
 
request(Message) - Method in class org.arl.fjage.remote.Gateway
 
requests - Variable in class org.arl.fjage.param.ParameterReq
 
requests() - Method in class org.arl.fjage.param.ParameterReq
Gets a list of requests to be made.
RequestSender - Interface in org.arl.fjage
Fluent request sender interface.
reset() - Method in class org.arl.fjage.BackoffBehavior
Resets the behavior, allowing it to be used again.
reset() - Method in class org.arl.fjage.Behavior
Resets a behavior to its initial state.
reset() - Method in class org.arl.fjage.FSMBehavior
Resets the FSM.
reset() - Method in class org.arl.fjage.PoissonBehavior
Resets the behavior to its initial state, allowing it to be used again.
reset() - Method in class org.arl.fjage.TestBehavior
 
reset() - Method in class org.arl.fjage.TickerBehavior
Resets the behavior, allowing it to be used again.
reset() - Method in class org.arl.fjage.WakerBehavior
Resets the behavior, allowing it to be used again.
resolve(Parameter) - Method in class org.arl.fjage.param.ParameterRsp
Convert named parameters to qualified parameters, if they match.
restart() - Method in class org.arl.fjage.Behavior
Unblocks the behavior if it was blocked.
restart() - Method in class org.arl.fjage.FSMBehavior.State
Restarts the behavior.
rewrite - Variable in class org.arl.fjage.connectors.WebServer
 
rlen - Variable in class org.arl.fjage.connectors.BlockingByteQueue
 
root - Variable in class org.arl.fjage.persistence.Store
 
rpos - Variable in class org.arl.fjage.connectors.BlockingByteQueue
 
run() - Method in class org.arl.fjage.Agent
Lifecycle of the agent.
run() - Method in class org.arl.fjage.connectors.TcpHubConnector
 
run() - Method in class org.arl.fjage.connectors.TcpServer
 
run() - Method in class org.arl.fjage.DiscreteEventSimulator
Thread implementation.
running - Variable in class org.arl.fjage.Container
 
running - Variable in class org.arl.fjage.Platform
 
runOn(Agent) - Method in class org.arl.fjage.TestBehavior
Runs a test as a behavior of a specified agent.

S

schedule(TimerTask, long) - Method in class org.arl.fjage.DiscreteEventSimulator
 
schedule(TimerTask, long) - Method in class org.arl.fjage.Platform
Schedules a task to be executed at a given platform time.
schedule(TimerTask, long) - Method in class org.arl.fjage.RealTimePlatform
 
ScriptEngine - Interface in org.arl.fjage.shell
An interface representing a scripting engine.
search(String) - Method in class org.arl.fjage.shell.Documentation
Search documentation topics by keyword.
section - Variable in class org.arl.fjage.shell.Documentation
 
send(Message) - Method in class org.arl.fjage.Agent
 
send(Message) - Method in class org.arl.fjage.AgentID
Sends a message to the agent represented by this id.
send(Message) - Method in class org.arl.fjage.Container
Sends a message.
send(Message, boolean) - Method in class org.arl.fjage.Container
Sends a message.
send(Message) - Method in interface org.arl.fjage.Messenger
Sends a message to the recipient indicated in the message.
send(Message) - Method in class org.arl.fjage.remote.Gateway
 
send(Message) - Method in class org.arl.fjage.remote.MasterContainer
 
send(Message, boolean) - Method in class org.arl.fjage.remote.MasterContainer
 
send(Message) - Method in class org.arl.fjage.remote.SlaveContainer
 
send(Message, boolean) - Method in class org.arl.fjage.remote.SlaveContainer
 
send() - Method in interface org.arl.fjage.RequestSender
Sends the message asynchronously.
sendAndWait() - Method in interface org.arl.fjage.RequestSender
Sends the message synchronously.
sender - Variable in class org.arl.fjage.Message
 
sentAt - Variable in class org.arl.fjage.Message
 
SERIAL_CLONER - Static variable in class org.arl.fjage.Container
 
SerialPortConnector - Class in org.arl.fjage.connectors
Serial port connector.
SerialPortConnector(String, int, String) - Constructor for class org.arl.fjage.connectors.SerialPortConnector
Open a serial port.
server - Variable in class org.arl.fjage.connectors.WebServer
 
server - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
service - Variable in class org.arl.fjage.remote.JsonMessage
 
services - Variable in class org.arl.fjage.Container
 
services - Variable in class org.arl.fjage.remote.JsonMessage
 
Services - Enum in org.arl.fjage.shell
Services supported by fjage shell agents.
set(Parameter, Object) - Method in class org.arl.fjage.AgentID
Sends a parameter request to the agent represented by this id to change the parameter value from the agent.
set(Parameter, Object, int) - Method in class org.arl.fjage.AgentID
Sends a parameter request to the agent represented by this id to change the parameter value from the agent.
set(Parameter, Object) - Method in class org.arl.fjage.param.ParameterReq
Sets a parameter value.
set(Parameter, Object, boolean) - Method in class org.arl.fjage.param.ParameterRsp
Sets the parameter.
setAns(boolean) - Method in class org.arl.fjage.shell.ShellExecReq
Set a flag to indicate that the output from the command should be returned in the response, when possible.
setAutoClone(boolean) - Method in class org.arl.fjage.Container
Enables or disables autocloning.
setClassLoader(ClassLoader) - Static method in class org.arl.fjage.persistence.Store
Sets class loader to use for loading stored classes.
setCloner(String) - Method in class org.arl.fjage.Container
Sets the cloner to use for deep cloning.
setCommand(String) - Method in class org.arl.fjage.shell.ShellExecReq
Set the command to execute.
setConnectionListener(ConnectionListener) - Method in interface org.arl.fjage.connectors.Connector
Set a connection state listener.
setConnectionListener(ConnectionListener) - Method in class org.arl.fjage.connectors.SerialPortConnector
 
setConnectionListener(ConnectionListener) - Method in class org.arl.fjage.connectors.TcpConnector
 
setConnectionListener(ConnectionListener) - Method in class org.arl.fjage.connectors.TcpHubConnector
 
setConnectionListener(ConnectionListener) - Method in class org.arl.fjage.connectors.WebSocketConnector
 
setContents(byte[]) - Method in class org.arl.fjage.shell.GetFileRsp
Set the contents of the file.
setContents(byte[]) - Method in class org.arl.fjage.shell.PutFileReq
Set the contents to write to the file.
setCredentials(String) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.User
Sets the user credentials.
setDirectory(boolean) - Method in class org.arl.fjage.shell.GetFileRsp
Marks the file being returned as an ordinary file or directory.
setFilename(String) - Method in class org.arl.fjage.shell.GetFileReq
Set the name of the file/directory.
setFilename(String) - Method in class org.arl.fjage.shell.GetFileRsp
Set the name of the file/directory.
setFilename(String) - Method in class org.arl.fjage.shell.PutFileReq
Set the name of the file.
setHostname(String) - Method in class org.arl.fjage.Platform
Sets the hostname for the platform.
setIndex(int) - Method in class org.arl.fjage.param.ParameterReq
Sets the index for index based parameter.
setIndex(int) - Method in class org.arl.fjage.param.ParameterRsp
Sets the index for parameter.
setInitialState(Object) - Method in class org.arl.fjage.FSMBehavior
Sets the initial state to start FSM in.
setInitrc(String) - Method in class org.arl.fjage.shell.ShellAgent
Sets the name of the initialization script to setup the console environment.
setInitrc(File) - Method in class org.arl.fjage.shell.ShellAgent
Sets the initialization script file to setup the console environment.
setInitrc(String, Reader) - Method in class org.arl.fjage.shell.ShellAgent
Sets the initialization script from a reader to setup the console environment.
setInReplyTo(String) - Method in class org.arl.fjage.Message
Sets the message id of the associated request message.
setJsonCache(String) - Method in class org.arl.fjage.Message
Sets the Cached JSON String
setLength(long) - Method in class org.arl.fjage.shell.GetFileReq
Set number of bytes to read from file.
setLogLevel(Level) - Method in class org.arl.fjage.Agent
Changes the logging level for the agent.
setMessageID(String) - Method in class org.arl.fjage.Message
Sets the unique identifier for this message.
setName(String) - Method in class org.arl.fjage.Container
Sets the name of the container.
setNetworkInterface(String) - Method in class org.arl.fjage.Platform
Sets the network interface to bind to.
setNetworkInterface(NetworkInterface) - Method in class org.arl.fjage.Platform
Sets the network interface to bind to.
setNextState(Object) - Method in class org.arl.fjage.FSMBehavior
Sets the next state of the FSM.
setNextState(Object) - Method in class org.arl.fjage.FSMBehavior.State
Changes the FSM state to the specified state.
setOffset(long) - Method in class org.arl.fjage.shell.GetFileReq
Set the start location in file to read from.
setOffset(long) - Method in class org.arl.fjage.shell.GetFileRsp
Set the start location in file.
setOffset(long) - Method in class org.arl.fjage.shell.PutFileReq
Set the start location in file to write from.
setParam(Parameter, int, Object) - Method in class org.arl.fjage.param.ParameterMessageBehavior
Agents providing dynamic parameters may override this method to set a value for a given parameter.
setPerformative(Performative) - Method in class org.arl.fjage.Message
Sets the performative for this message.
setPolicyId(String) - Method in class org.arl.fjage.auth.SimpleFirewallSupplier.User
Sets the policy ID.
setQueueSize(int) - Method in class org.arl.fjage.Agent
Sets the maximum length of the incoming message queue for the agent.
setRecipient(AgentID) - Method in class org.arl.fjage.Message
Sets the recipient of this message.
setRoot(File) - Static method in class org.arl.fjage.persistence.Store
Sets root folder for store data.
setRootSeed(long) - Static method in class org.arl.fjage.AgentLocalRandom
Sets root random number generator seed.
setScript(File) - Method in class org.arl.fjage.shell.ShellExecReq
Set the command to execute.
setScript(File, List<String>) - Method in class org.arl.fjage.shell.ShellExecReq
Set the command to execute.
setSender(AgentID) - Method in class org.arl.fjage.Message
Sets the sender of this message.
setSentAt(long) - Method in class org.arl.fjage.Message
Sets the timestamp (milliseconds since epoch) that this message was sent at.
setSize(int) - Method in class org.arl.fjage.MessageQueue
 
setTimestampProvider(TimestampProvider) - Method in class org.arl.fjage.LogHandlerProxy
Sets the current TimestampProvider used for log timestamp.
setType(String) - Method in class org.arl.fjage.AgentID
Sets the type of the agent.
setVariable(String, Object) - Method in class org.arl.fjage.shell.ConcurrentBinding
 
setVariable(String, Object) - Method in class org.arl.fjage.shell.EchoScriptEngine
 
setVariable(String, Object) - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
setVariable(String, Object) - Method in interface org.arl.fjage.shell.ScriptEngine
Bind script variable.
setYieldDuringReceive(boolean) - Method in class org.arl.fjage.Agent
Enables/disables processing of messages during a blocking receive().
SEVERE - Static variable in class org.arl.fjage.Agent
 
shell - Variable in class org.arl.fjage.shell.EchoScriptEngine
 
Shell - Interface in org.arl.fjage.shell
Any shell input/output driver should implement this interface.
shell - Variable in class org.arl.fjage.shell.ShellAgent
 
ShellAgent - Class in org.arl.fjage.shell
Shell agent runs in a container and allows execution of shell commands and scripts.
ShellAgent(ScriptEngine) - Constructor for class org.arl.fjage.shell.ShellAgent
Create a shell agent without a user console.
ShellAgent(ScriptEngine, boolean) - Constructor for class org.arl.fjage.shell.ShellAgent
Create a transient shell agent without a user console.
ShellAgent(Shell, ScriptEngine) - Constructor for class org.arl.fjage.shell.ShellAgent
Create a shell for user interaction.
ShellAgent.InitScript - Class in org.arl.fjage.shell
 
ShellAgent.InputStreamCacheEntry - Class in org.arl.fjage.shell
 
ShellCommandFailed - Exception in org.arl.fjage.shell
Unchecked exception to be thrown by shell commands to indicate graceful command failure.
ShellCommandFailed(String) - Constructor for exception org.arl.fjage.shell.ShellCommandFailed
 
ShellExecReq - Class in org.arl.fjage.shell
Request to execute shell command/script.
ShellExecReq() - Constructor for class org.arl.fjage.shell.ShellExecReq
Create an empty request for shell command.
ShellExecReq(AgentID) - Constructor for class org.arl.fjage.shell.ShellExecReq
Create an empty request for shell command.
ShellExecReq(String) - Constructor for class org.arl.fjage.shell.ShellExecReq
Create request for shell command.
ShellExecReq(AgentID, String) - Constructor for class org.arl.fjage.shell.ShellExecReq
Create request for shell command.
ShellExecReq(File) - Constructor for class org.arl.fjage.shell.ShellExecReq
Create request to execute shell script.
ShellExecReq(AgentID, File) - Constructor for class org.arl.fjage.shell.ShellExecReq
Create request to execute shell script.
ShellExecReq(File, List<String>) - Constructor for class org.arl.fjage.shell.ShellExecReq
Create request to execute shell script with arguments.
ShellExecReq(AgentID, File, List<String>) - Constructor for class org.arl.fjage.shell.ShellExecReq
Create request to execute shell script with arguments.
ShellExtension - Interface in org.arl.fjage.shell
This interface tags a class as providing shell commands to be loaded by a script engine.
ShellParam - Enum in org.arl.fjage.shell
 
shutdown() - Method in class org.arl.fjage.Agent
Called by the container when the agent is terminated.
shutdown() - Static method in class org.arl.fjage.connectors.WebServer
Shutdown all web servers.
shutdown() - Method in class org.arl.fjage.Container
Terminates the container and all agents in it.
shutdown() - Method in class org.arl.fjage.DiscreteEventSimulator
 
shutdown() - Method in class org.arl.fjage.Platform
Terminates all containers on the platform.
shutdown() - Method in class org.arl.fjage.remote.MasterContainer
 
shutdown() - Method in class org.arl.fjage.remote.SlaveContainer
 
shutdown() - Method in class org.arl.fjage.shell.ConsoleShell
 
shutdown() - Method in class org.arl.fjage.shell.DumbShell
 
shutdown() - Method in class org.arl.fjage.shell.EchoScriptEngine
 
shutdown() - Method in class org.arl.fjage.shell.GroovyScriptEngine
 
shutdown() - Method in interface org.arl.fjage.shell.ScriptEngine
Terminate the scripting engine.
shutdown() - Method in interface org.arl.fjage.shell.Shell
Shutdown the shell.
shutdown() - Method in class org.arl.fjage.shell.ShellAgent
 
shutdownContainer - Variable in class org.arl.fjage.remote.Gateway
 
signoff() - Method in class org.arl.fjage.auth.AllowAfterAuth
 
signoff() - Method in class org.arl.fjage.auth.AllowAll
 
signoff() - Method in class org.arl.fjage.auth.DenyAll
 
signoff() - Method in interface org.arl.fjage.auth.Firewall
Called when the connection is closed.
SimpleFirewallSupplier - Class in org.arl.fjage.auth
Simple firewall supplier.
SimpleFirewallSupplier() - Constructor for class org.arl.fjage.auth.SimpleFirewallSupplier
 
SimpleFirewallSupplier.Policy - Class in org.arl.fjage.auth
Access policy.
SimpleFirewallSupplier.User - Class in org.arl.fjage.auth
User information.
size() - Method in class org.arl.fjage.GenericMessage
 
size() - Method in class org.arl.fjage.persistence.Store
Gets the size of the data store (in bytes).
SlaveContainer - Class in org.arl.fjage.remote
Slave container attached to a master container.
SlaveContainer(Platform, String, int) - Constructor for class org.arl.fjage.remote.SlaveContainer
Creates a slave container connecting over a TCP socket.
SlaveContainer(Platform, String, String, int) - Constructor for class org.arl.fjage.remote.SlaveContainer
Creates a named slave container connecting over a TCP socket.
SlaveContainer(Platform, String, int, String) - Constructor for class org.arl.fjage.remote.SlaveContainer
Creates a slave container connecting over a RS232 port.
SlaveContainer(Platform, String, String, int, String) - Constructor for class org.arl.fjage.remote.SlaveContainer
Creates a named slave container connecting over a RS232 port.
sock - Variable in class org.arl.fjage.connectors.TcpConnector
 
sock - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
sock - Variable in class org.arl.fjage.connectors.TcpServer
 
start() - Method in class org.arl.fjage.connectors.WebServer
Starts the web server.
start() - Method in class org.arl.fjage.Container
Starts the container and all agents in it.
start() - Method in class org.arl.fjage.DiscreteEventSimulator
 
start() - Method in class org.arl.fjage.Platform
Starts all containers on the platform.
start() - Method in class org.arl.fjage.remote.SlaveContainer
 
started - Variable in class org.arl.fjage.connectors.WebServer
 
State(Object) - Constructor for class org.arl.fjage.FSMBehavior.State
Creates a named state.
State(Object, Runnable) - Constructor for class org.arl.fjage.FSMBehavior.State
Creates a named state.
staticContexts - Variable in class org.arl.fjage.connectors.WebServer
 
stop() - Method in class org.arl.fjage.Agent
Requests an agent to terminate.
stop() - Method in class org.arl.fjage.BackoffBehavior
Terminates the behavior.
stop() - Method in class org.arl.fjage.connectors.WebServer
Stops the web server.
stop() - Method in class org.arl.fjage.CyclicBehavior
Terminates the behavior.
stop() - Method in class org.arl.fjage.PoissonBehavior
Terminates the behavior.
stop() - Method in class org.arl.fjage.TickerBehavior
Terminates the behavior.
stop() - Method in class org.arl.fjage.WakerBehavior
Terminates the behavior.
Store - Class in org.arl.fjage.persistence
Persistent storage API.
Store(String) - Constructor for class org.arl.fjage.persistence.Store
 
storeRoot - Static variable in class org.arl.fjage.persistence.Store
 
subscribe(AgentID) - Method in class org.arl.fjage.Agent
Subscribes the agent to receive all messages sent to the given topic.
subscribe(AgentID, AgentID) - Method in class org.arl.fjage.Container
Subscribes an agent to messages sent to a topic.
subscribe(AgentID) - Method in class org.arl.fjage.remote.Gateway
Subscribes the gateway to receive all messages sent to the given topic.
subscribe(AgentID, AgentID) - Method in class org.arl.fjage.remote.SlaveContainer
 
SUPPLIER - Static variable in class org.arl.fjage.auth.AllowAfterAuth
AllowAfterAuth supplier.
SUPPLIER - Static variable in class org.arl.fjage.auth.AllowAll
AllowAll supplier.
SUPPLIER - Static variable in class org.arl.fjage.auth.DenyAll
DenyAll supplier.

T

TcpConnector - Class in org.arl.fjage.connectors
TCP client connector.
TcpConnector(String, int) - Constructor for class org.arl.fjage.connectors.TcpConnector
Open a TCP client connection to a TCP server.
TcpConnector(Socket) - Constructor for class org.arl.fjage.connectors.TcpConnector
Create a TCP connector object with an already open socket.
TcpHubConnector - Class in org.arl.fjage.connectors
TCP hub server.
TcpHubConnector(int, boolean) - Constructor for class org.arl.fjage.connectors.TcpHubConnector
Creates a TCP server running on a specified port.
TcpHubConnector(int) - Constructor for class org.arl.fjage.connectors.TcpHubConnector
Creates a TCP server running on a specified port.
TcpServer - Class in org.arl.fjage.connectors
TCP server.
TcpServer(int, ConnectionListener) - Constructor for class org.arl.fjage.connectors.TcpServer
Create a TCP server running on a specified port.
telnet - Variable in class org.arl.fjage.connectors.TcpHubConnector
 
terminate() - Method in class org.arl.fjage.FSMBehavior.State
Terminates the FSM.
terminate() - Method in class org.arl.fjage.FSMBehavior
Terminates the FSM by setting the next state to be FINAL.
test() - Method in class org.arl.fjage.TestBehavior
This method should be overridden by sub-classes.
TestBehavior - Class in org.arl.fjage
A behavior for JUnit test case design.
TestBehavior() - Constructor for class org.arl.fjage.TestBehavior
Creates a test behavior.
TestBehavior(Runnable) - Constructor for class org.arl.fjage.TestBehavior
Creates a test behavior.
thread - Variable in class org.arl.fjage.Agent
 
TickerBehavior - Class in org.arl.fjage
A behavior that is executed every specified period.
TickerBehavior(long) - Constructor for class org.arl.fjage.TickerBehavior
Creates a behavior that is executed every specified period.
TickerBehavior(long, Runnable) - Constructor for class org.arl.fjage.TickerBehavior
Creates a behavior that is executed every specified period.
tid - Variable in class org.arl.fjage.Agent
 
TimestampProvider - Interface in org.arl.fjage
Represents any class that can provide a timestamp.
toJson() - Method in class org.arl.fjage.remote.JsonMessage
 
topic(String) - Method in class org.arl.fjage.Agent
Returns an object representing the named topic.
topic(Enum<?>) - Method in class org.arl.fjage.Agent
Returns an object representing the named topic.
topic(AgentID) - Method in class org.arl.fjage.Agent
Returns an object representing the notification topic for an agent.
topic(AgentID, String) - Method in class org.arl.fjage.Agent
Returns an object representing a named notification topic for an agent.
topic(AgentID, Enum<?>) - Method in class org.arl.fjage.Agent
Returns an object representing a named notification topic for an agent.
topic() - Method in class org.arl.fjage.Agent
Returns an object representing the notification topic for this agent.
topic(String) - Method in class org.arl.fjage.remote.Gateway
Returns an object representing the named topic.
topic(Enum<?>) - Method in class org.arl.fjage.remote.Gateway
Returns an object representing the named topic.
topic(AgentID) - Method in class org.arl.fjage.remote.Gateway
Returns an object representing the notification topic for an agent.
topic(AgentID, String) - Method in class org.arl.fjage.remote.Gateway
Returns an object representing a named notification topic for an agent.
topic(AgentID, Enum<?>) - Method in class org.arl.fjage.remote.Gateway
Returns an object representing a named notification topic for an agent.
topics - Variable in class org.arl.fjage.Container
 
toString() - Method in class org.arl.fjage.Agent
Gets a string representation of the agent.
toString() - Method in class org.arl.fjage.AgentID
Gets a string representation of the agent id.
toString() - Method in exception org.arl.fjage.auth.AuthFailureException
 
toString() - Method in class org.arl.fjage.connectors.SerialPortConnector
 
toString() - Method in class org.arl.fjage.connectors.TcpConnector
 
toString() - Method in class org.arl.fjage.connectors.TcpHubConnector
 
toString() - Method in class org.arl.fjage.connectors.TcpServer
 
toString() - Method in class org.arl.fjage.connectors.WebSocketConnector
 
toString() - Method in class org.arl.fjage.Container
Gets a string representation of the container.
toString() - Method in exception org.arl.fjage.FjageException
 
toString() - Method in class org.arl.fjage.FSMBehavior.State
Returns a string representation of the state.
toString() - Method in class org.arl.fjage.GenericValue
 
toString() - Method in class org.arl.fjage.Message
Gets a string representation of the message.
toString() - Method in class org.arl.fjage.param.NamedParameter
Gets the parameter name as string.
toString() - Method in class org.arl.fjage.param.ParameterReq
 
toString() - Method in class org.arl.fjage.param.ParameterRsp
 
toString() - Method in class org.arl.fjage.remote.MasterContainer
 
toString() - Method in class org.arl.fjage.remote.SlaveContainer
 
toString() - Method in class org.arl.fjage.shell.ConsoleShell
 
toString() - Method in class org.arl.fjage.shell.DumbShell
 
toString() - Method in class org.arl.fjage.shell.ShellAgent
 
trigger(Object) - Method in class org.arl.fjage.FSMBehavior
Trigger an event on the FSM.
trigger(Object, Object) - Method in class org.arl.fjage.FSMBehavior
Trigger an event on the FSM.

U

unsubscribe(AgentID) - Method in class org.arl.fjage.Agent
Unsubscribes the agent from a given topic.
unsubscribe(AgentID, AgentID) - Method in class org.arl.fjage.Container
Unsubscribes an agent from a topic.
unsubscribe(AgentID) - Method in class org.arl.fjage.Container
Unsubscribes an agent from all topics.
unsubscribe(AgentID) - Method in class org.arl.fjage.remote.Gateway
Unsubscribes the gateway from a given topic.
unsubscribe(AgentID, AgentID) - Method in class org.arl.fjage.remote.SlaveContainer
 
unsubscribe(AgentID) - Method in class org.arl.fjage.remote.SlaveContainer
 
UploadHandler(MultipartConfigElement, Path) - Constructor for class org.arl.fjage.connectors.WebServer.UploadHandler
 

V

value - Variable in class org.arl.fjage.param.ParameterReq.Entry
value of parameter.
value - Variable in class org.arl.fjage.param.ParameterReq
 
value - Variable in class org.arl.fjage.param.ParameterRsp
 
valueOf(String) - Static method in enum org.arl.fjage.AgentState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.arl.fjage.Performative
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.arl.fjage.remote.Action
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.arl.fjage.shell.Services
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.arl.fjage.shell.ShellParam
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.arl.fjage.AgentState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.arl.fjage.GenericMessage
 
values - Variable in class org.arl.fjage.param.ParameterRsp
 
values() - Static method in enum org.arl.fjage.Performative
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.arl.fjage.remote.Action
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.arl.fjage.shell.Services
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.arl.fjage.shell.ShellParam
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitOutputCompletion(long) - Method in interface org.arl.fjage.connectors.Connector
Wait until the output buffer is empty.
waitOutputCompletion(long) - Method in class org.arl.fjage.connectors.SerialPortConnector
 
waitOutputCompletion(long) - Method in class org.arl.fjage.connectors.TcpConnector
 
waitOutputCompletion(long) - Method in class org.arl.fjage.connectors.TcpHubConnector
 
waitOutputCompletion(long) - Method in class org.arl.fjage.connectors.WebSocketConnector
 
wake() - Method in class org.arl.fjage.Agent
Wakes up the agent if it was blocked using Agent.block().
WakerBehavior - Class in org.arl.fjage
A behavior that is executed once after a specified delay.
WakerBehavior(long) - Constructor for class org.arl.fjage.WakerBehavior
Creates a behavior which is executed once after a specified delay.
WakerBehavior(long, Runnable) - Constructor for class org.arl.fjage.WakerBehavior
Creates a behavior which is executed once after a specified delay.
WARNING - Static variable in class org.arl.fjage.Agent
 
wbuf - Variable in class org.arl.fjage.connectors.BlockingByteQueue
 
WebServer - Class in org.arl.fjage.connectors
Web server instance manager.
WebServer(int) - Constructor for class org.arl.fjage.connectors.WebServer
 
WebServer(int, String) - Constructor for class org.arl.fjage.connectors.WebServer
 
WebServer.UploadHandler - Class in org.arl.fjage.connectors
 
WebSocketConnector - Class in org.arl.fjage.connectors
Web socket connector.
WebSocketConnector(int, String) - Constructor for class org.arl.fjage.connectors.WebSocketConnector
Create a web socket connector and add it to a web server running on a given port.
WebSocketConnector(int, String, boolean) - Constructor for class org.arl.fjage.connectors.WebSocketConnector
Create a web socket connector and add it to a web server running on a given port.
WebSocketConnector(int, String, int) - Constructor for class org.arl.fjage.connectors.WebSocketConnector
Create a web socket connector and add it to a web server running on a given port.
WebSocketConnector(int, String, boolean, int) - Constructor for class org.arl.fjage.connectors.WebSocketConnector
Create a web socket connector and add it to a web server running on a given port.
WebSocketConnector.WSHandler - Class in org.arl.fjage.connectors
 
wlen - Variable in class org.arl.fjage.connectors.BlockingByteQueue
 
write(int) - Method in class org.arl.fjage.connectors.BlockingByteQueue
Writes a byte to the queue.
write(byte[]) - Method in class org.arl.fjage.connectors.BlockingByteQueue
Writes a byte array to the queue.
write(int) - Method in class org.arl.fjage.connectors.PseudoInputStream
Write a byte to the stream buffer.
write(byte[]) - Method in class org.arl.fjage.connectors.PseudoInputStream
Write a byte buffer to the stream buffer.
write(int) - Method in class org.arl.fjage.connectors.PseudoOutputStream
 
write(byte[]) - Method in class org.arl.fjage.connectors.PseudoOutputStream
 
write(byte[], int, int) - Method in class org.arl.fjage.connectors.PseudoOutputStream
 
write(JsonWriter, Object) - Method in class org.arl.fjage.remote.EnumTypeAdapter
 
WSHandler(WebSocketConnector) - Constructor for class org.arl.fjage.connectors.WebSocketConnector.WSHandler
 
wsHandlers - Variable in class org.arl.fjage.connectors.WebSocketConnector
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links