Class Monitor

Index Home MAE > MAE Architecture > MAE Data Types > Class Index > Class Monitor

Summary
Public Methods
Monitor(module)
inline string getModule() const
inline string getLastCommand() const
inline string getLastOutput() const
inline string getLastError() const
inline bool isOK() const
inline bool isError() const
inline bool setModule(newModule)
inline string run(command)
string run(module, command)
inline bool valid() const
static bool getIntRange(text, start, end)
Private Properties
Private Methods
bool checkIfModuleValid(newModule) const

#include <Monitor.h >

Summary

The tmon command line utility allows a admin to connect to the backend of your app - if you allow it by implementing a monitor interface.

This class is the client end of the monitor used by tmon.

Public Methods

Monitor(module)

string module


inline string getModule() const

basic GET methods

inline string getLastCommand() const

inline string getLastOutput() const

inline string getLastError() const

inline bool isOK() const

inline bool isError() const

inline bool setModule(newModule)

string newModule


basic SET methods

inline string run(command)

string command


string run(module, command)

string module

string command


inline bool valid() const

static bool getIntRange(text, start, end)

string text

int& start

int& end


utility routines used by monitor services

Private Properties

string module

string command

string output

string error

HashArray session


Private Methods

bool checkIfModuleValid(newModule) const

string newModule

Default value: ""