EnglishFrenchSpanish

Ad


OnWorks favicon

amsshell - Online in the Cloud

Run amsshell in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command amsshell that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


amsshell - Asynchronous Message Service (AMS) test message sender (UNIX)

SYNOPSIS


amsshell unit_name role_name application_name authority_name [{ p | s | q | a }]

DESCRIPTION


amsshell is a message issuance program designed to test AMS functionality.

When amsshell is started, it registers as an application module in the unit identified by
unit_name of the venture identified by application_name and authority_name; the role in
which it registers must be indicated in role_name. A configuration server for the local
continuum and a registrar for the indicated unit of the indicated venture (which may both
be instantiated in a single amsd daemon task) must be running in order for amsshell to
run.

amsshell runs as two threads: a background thread that receives watches for AMS
configuration events (including shutdown), together with a foreground thread that acquires
operating parameters and message content in lines of console input to control the issuance
of messages.

The first character of each line of input from stdin to the amsshell indicates the
significance of that line:

= Sets the name of the subject on which all messages are to be issued, until superseded
by another "=" line. The subject name must begin at the second character of this
line. Optionally, subject name may be followed by a single ' ' (space) character and
then the text of the first message to be issued on this subject, which is to be issued
immediately.

r Sets the number of the role constraining the domain of message issuance. The role
number must begin at the second character of this line.

c Sets the number of the continuum constraining the domain of message issuance. The
continuum number must begin at the second character of this line.

u Sets the number of the unit constraining the domain of message issuance. The unit
number must begin at the second character of this line.

m Sets the number of the module to which subsequent messages are to be issued. The
module number must begin at the second character of this line.

. Terminates amsshell.

When the first character of a line of input from stdin is none of the above, the entire
line is taken to be the text of a message that is to be issued immediately, on the
previously specified subject, to the previously specified module (if applicable), and
subject to the previously specified domain (if applicable).

By default, amsshell runs in "publish" mode: when a message is to be issued, it is simply
published. This behavior can be overridden by providing a fifth command-line argument to
amsshell - a "mode" indicator. The supported modes are as follows:

p This is "publish" mode. Every message is published.

s This is "send" mode. Every message is sent privately to the application module
identified by the specified module, unit, and continuum numbers.

q This is "query" mode. Every message is sent privately to the application module
identified by the specified module, unit, and continuum numbers, and amsshell then
waits for a reply message before continuing.

a This is "announce" mode. Every message is announced to all modules in the domain
established by the previously specified role, unit, and continuum numbers.

EXIT STATUS


-1 amsshell terminated with an error as noted in the ion.log file.

"0" amsshell terminated normally.

Use amsshell online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad