subject

Beartooth Hiking Company has decided that they would also like to provide rate quotes as a socket service in addition to the Web-start solution. For this homework, you are to modify your last homework to connect to a socket server to get the quote information instead of using the Rates and BookingDay classes.

The BHC server will be on :20025 (128.220.101.240:20025). It expects data in the form of hike_id:begin_year:begin_month:begi n_day:duration (e. g: 1:2008:7:1:3)

Gardiner Lake is hike_id 0, with durations of 3 or 5 days

Hellroaring Plateu is hike_id 1, with durations of 2, 3, or 4 days

Beaten Path is hike_id 2, with durations of 5 or 7 days

January is month 1, and the years are in four digits, and all values are separated by ":"s

The returned result will be the cost followed by a ":", followed by some text. If things go well, you'll get the cost and the text "Quoted Rate", if there is a problem, the cost will by -0.01 and the text will have some explanation. You will need to parse the return results and display them in your GUI. You are not responsible for the logic of the rate quote, as the server will handle it. All you are doing is designing the GUI client and then displaying the results from the server.

You should use a Java app solution (executable jar) solution for this application that is uploaded to the Blackboard server.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:40
State the parts of a variable declaration?
Answers: 2
question
Computers and Technology, 22.06.2019 12:50
You have just been hired as an information security engineer for a large, multi-international corporation. unfortunately, your company has suffered multiple security breaches that have threatened customers' trust in the fact that their confidential data and financial assets are private and secured. credit-card information was compromised by an attack that infiltrated the network through a vulnerable wireless connection within the organization. the other breach was an inside job where personal data was stolen because of weak access-control policies within the organization that allowed an unauthorized individual access to valuable data. your job is to develop a risk-management policy that addresses the two security breaches and how to mitigate these risks.requirementswrite a brief description of the case study. it requires two to three pages, based upon the apa style of writing. use transition words; a thesis statement; an introduction, body, and conclusion; and a reference page with at least two references. use a double-spaced, arial font, size 12.
Answers: 1
question
Computers and Technology, 22.06.2019 14:20
Cengagenowv2 is a comprehensive online learning tool. using cengagenowv2, you may access all of the following except: 2. each time you log in, cengagenowv2 automatically performs a system check and informs you if your computer does not meet the cengagenowv2 system requirements. 3. which tab/page allows you to easily track your assignment scores, number of submissions, time spent, as well as the ability view assign
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
Answers: 1
You know the right answer?
Beartooth Hiking Company has decided that they would also like to provide rate quotes as a socket se...
Questions
question
Mathematics, 13.11.2020 05:10
question
English, 13.11.2020 05:10
Questions on the website: 13722367