Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ 2. write the specification for the APIGateway class, which is in namespace csci2312 and has the following attributes: gatewayCounter, which keeps track of all

c++ image text in transcribed

image text in transcribed

2. write the specification for the "APIGateway" class, which is in namespace csci2312 and has the following attributes: gatewayCounter, which keeps track of all the APIGateway objects created various network nodes (class level) gatewaylD to store a numeric APIGateway instance identifier gatewayName to store the name/title of the APIGateway instance domains, a static array which stores the names of business domains served a given gateway MAY DOMAINS set to some number, indicating the maximum number o domains a gateway can handle (used as a default) api List a handle to dynamic array of REST API specs MAX APIs set to some number, indicating the maximum number of API gateway can manage (used a default) api Count to hold the number of expected APIs at the time of constructin gateway object response Rate to store the average API response rate The class will also need several standard methods, such as Default constructor

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions