RedundantAppQuery

Type

SwitchKit API message

Description

Use the SK_RedundantAppQuery message to determine the specifications of a member application within a specific Redundant Application Pool (RAP).

Since an application can be a member of several RAPs, SK_RedundantAppQuery needs to be sent for each RAP of which an application is a member.

Sent by

Monitoring application or Converged Services Administrator (CSA)

Arguments

The following table shows the user modifiable arguments:

Argument

Description

AppName

AppName is the application name of the requesting application. The name can be obtained by calling sk_getConnectionName().

RedundantAppPoolID

The RedundantAppPoolID is a string that uniquely identifies the class of application wishing to be treated as redundant applications.

Notes: RAP IDs are case sensitive!

C Structure

typedef struct {

char RedundantAppPoolID[32];

int AppName;

} SK_RedundantAppQuery;

C Structure Response

typedef struct {

int Status;

char RedundantAppPoolID[32];

int AppName;

int RedundantAppPriority;

int IsPrimary;

unsigned short DataSize;

UBYTE Data[203];

} SK_RedundantAppQueryAck;

C++ Class

class SKC_RedundantAppQuery : public SKC_ToolkitMessage {

public:

const char *getRedundantAppPoolID() const;

void setRedundantAppPoolID(const char *x);

int getAppName() const;

void setAppName(int x);

};

C++ Class Response

class SKC_RedundantAppQueryAck : public SKC_ToolkitAck {

public:

int getStatus() const;

void setStatus(int x);

const char *getRedundantAppPoolID() const;

void setRedundantAppPoolID(const char *x);

int getAppName() const;

void setAppName(int x);

int getRedundantAppPriority() const;

void setRedundantAppPriority(int x);

int getIsPrimary() const;

void setIsPrimary(int x);

unsigned short getDataSize() const;

void setDataSize(unsigned short x);

const UBYTE *getData() const;

UBYTE *getData();

void setData(UBYTE *x);

};