Fjage.jl

Fjage Julia gateway
Author org-arl
Popularity
2 Stars
Updated Last
1 Year Ago
Started In
September 2019


fjåge v1.7.0

Fjåge Julia gateway

Julia gateway that can connect to the fjåge agent framework.

Installation

In Julia REPL:

julia> # press "]" to enter package manager
pkg> add Fjage

Example usage

In Julia REPL:

julia> using Fjage
julia> gw = Gateway("localhost", 1100);
julia> shell = agentforservice(gw, "org.arl.fjage.shell.Services.SHELL")
shell
julia> shell.language
"Groovy"
julia> request(gw, ShellExecReq(recipient=shell, cmd="ps"))
AGREE
julia> request(shell, ShellExecReq(cmd="ps"))
AGREE
julia> shell << ShellExecReq(cmd="ps")
AGREE
julia> close(gw)

For more details, see help (press "?" in Julia REPL) for Fjage, and the fjåge gateway API specifications.

Required Packages

Used By Packages