Skip to content
Fjage Julia gateway
Julia Groovy Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
src
test
.gitignore
LICENSE.txt
Makefile
Manifest.toml
Project.toml
README.md
pom.xml

README.md

Fjåge Julia gateway

(beta version)

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

Installation

In Julia REPL:

julia> # press "]" to enter package manager
pkg> add https://github.com/org-arl/Fjage.jl

Example usage

In Julia REPL:

julia> using Fjage
julia> ShellExecReq = MessageClass("org.arl.fjage.shell.ShellExecReq");
julia> gw = Gateway("localhost", 1100);
julia> shell = agentforservice(gw, "org.arl.fjage.shell.Services.SHELL")
shell
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.

You can’t perform that action at this time.