• Antelope Release 5.10 Linux CentOS release 7.6.1810 (Core) 3.10.0 2020-05-12

 

NAME

Oorb::CommandMgrTask - Command-manager task for the oorb library

SYNOPSIS

-loorb $(ORBLIBS)

#include "oorb.h"

namespace Oorb

class CommandMgrTask

DESCRIPTION

The CommandMgrTask class is used internally by the Oorb(3) library. The Oorb::Master(3) class within an Oorb(3)-library based program automatically instantiates and calls the run method on an object of the CommandMgrTask class. The CommandMgrTask's main job is to monitor an orbserver(1) for command packets as issued by the dlcmd(1) program, directing the received commands to the appropriate internal tasks and managing responses to those commands.

CONSTRUCTORS

METHODS

OBJECT CONFIGURATION PARAMETERS

The CommandMgrTask object contains a public member struct of name m_commandParams which is defined below. If orbtag is defined, commands are read and written from the given orbtag. If orbname is defined, commands are read and written from that orbname. If neither is defined, the CommandMgrTask ignores all commands.

typedef struct commandParamsStruct {
    char*    orbtag;
    char*    orbname;
} commandParamsStruct;

LIBRARY

-loorb $(ORBLIBS)

ATTRIBUTES

MT-Safe

SEE ALSO

Oorb(3), Oorb::Task(3), Oorb::Master(3)

BUGS AND CAVEATS

In principle the executeAndRespond method can be overridden by derived programs. In practice this would be somewhat involved with the current version of the Oorb(3) library.

AUTHOR

Kent Lindquist
Printer icon