logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

amspub - Asynchronous Message Service (AMS) test driver for VxWorks

Bugs

Description

amspub is a message publication program designed to test AMS functionality in a VxWorks environment.
       When an amspub task is started, it registers as an application module in the root unit of the venture
       identified by application_name and authority_name, looks up the subject number for subject_name,
       publishes a single message with content message_text on that subject, unregisters, and terminates.

       A configuration server for the local continuum and a registrar for the root unit of the indicated venture
       (which may both be instantiated in a single amsd daemon task) must be running in order for amspub to run.

Diagnostics

       amspub can't register.
           amspub failed to register, for reasons noted in the ion.log file.

       amspub: subject is unknown
           amspub  can't  publish  test  messages  on  the  specified  subject;  possibly  an  error  in the MIB
           initialization file.

       amspub can't publish message.
           amspub failed to publish, for reasons noted in the ion.log file.

Environment

       No environment variables apply.

Exit Status

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

       "0" amspub terminated normally.

Files

       The amspub source code is in the amspubsub.c source file.

       A MIB initialization file with the applicable default name (see amsrc(5)) must be present.

Name

       amspub - Asynchronous Message Service (AMS) test driver for VxWorks

See Also

amssub(1), amsrc(5)

perl v5.24.1                                       2016-07-07                                          AMSPUB(1)

Synopsis

amspub "application_name", "authority_name", "subject_name", "message_text"

See Also