You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > RedundantAppPoolsQuery
Type
SwitchKit API message
Description
Use the SK_RedundantAppPoolsQuery message to determine which Redundant Application Pools (RAPs) are defined within the Low-Level Communicator. For example, using this message you can determine which application is the primary one. You cannot modify arguments in this query.
The LLC responds to the original query with the message SK_RedundantAppPoolsQueryAck. The response contains a list of all currently defined RAPs within the LLC. The information given in the list can be used to query individual RAPs with SK_RedundantAppQuery or SK_RedundantAppPoolMembersQuery.
Syntax
The data field of this message contains a sequence of null-terminated strings, where each string is the name of a RAP. See the following example:
Data[RAPa\0RAPb\0RAPc\0]
This indicates that there are three RAPs, named "RAPa", "RAPb", and "RAPc".
Sent by
Monitoring application or Converged Services Administrator (CSA)
C Structure
typedef struct {
} SK_RedundantAppPoolsQuery;
C Structure Response
typedef struct {
int Status;
int NumRAPs;
unsigned short DataSize;
UBYTE Data[243];
} SK_RedundantAppPoolsQueryAck;
C++ Class
class SKC_RedundantAppPoolsQuery : public SKC_ToolkitMessage {
public:
};
C++ Class Response
class SKC_RedundantAppPoolsQueryAck : public SKC_ToolkitAck {
public:
int getStatus() const;
void setStatus(int x);
int getNumRAPs() const;
void setNumRAPs(int x) ;
unsigned short getDataSize() const;
void setDataSize(unsigned short x);
const UBYTE *getData() const;
UBYTE *getData();
void setData(UBYTE *x);
};