OAA Shell Agent (oaa_shell)
User Manual



Contents:


Introduction

The OAA shell agent is used to send ICL messages to an individual agent or to the agent community, generally for debugging purposes, or for monitoring the status of a facilitator and its connected clients. Requests may be entered as strings representing Prolog goals (either as commandline arguments or on stdin). These strings are then used as calls to OAA Prolog library procedures, or as goals to be used in a call to oaa_Solve. In addition, commandline options may be used to turn on or off tracing in the facilitator.

Usage Synopsis

The following message is printed when oaa_shell is called with no arguments.
Command line usage: oaa_shell Option_or_Request*
Standard OAA options:
    -oaa_connect Address, -setup_file Path, -on_connect_exception Action
Options done AFTER executing commandline requests:
    "-s"             Get a single request from stdin, execute it, and exit
Requests (without dashes):
    trace, trace_off,  com_trace, com_trace_off, 
    a call to an OAA 2 Prolog library procedure,
    a goal to be solved.

Return Values

Values returned to the operating system:
    -2: Unable to connect to facilitator
    -1: Error or abnormal condition at exit; not all requests completed
     0, and the last request executed has no solution count: Failure
     1, and the last request executed has no solution count: Success
     0 or greater, and the last request executed has a solution count: 
         the solution count

Examples

To Do

Not yet implemented:


Back to OAA Shell Agent Overview Page

Copyright (c) 2001 by SRI International