Conversation
…have //Shaan Bhoi
….java for the methods : connectionClosed , connectionException , and connectionEstablished.
…java for the methods: clientConnected , clientDisconnected, and clientException
…etport,login,gethost,getport
…nish up tmr with tests and clean up of code
…, need to repull original repo to redo phase 1 tests that are in the file PHASE2TestCases and copy/past log info in it
reformatted nameplate and aded specificity for cases I can't complete tests for
same as phase 2 cases but for phase 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shaan Bhoi
300037516
SEG 2105 Z-[XX]
sbhoi021@uottawa.ca
Assignment 01
Univeristy of Ottawa
implemented the following changes to to the original repo of the phase 1
E1: Setuped the environment for the assignment
E2: Compiled original repo
E3: Initial testing of original repo for phase 1 tests
E4: Made all changes to git hub branch repo OcsfPhase2
E5 :
Client Side:
Modified the client so it responds to the shutdown of the server by printing a message saying the server has shut down, and quitting. Modified the client so that it obtains the port number from the command line
E6:
Client Side:
Implemented the following commands for the client :
i) #quitCausestheclienttoterminategracefully.Makesuretheconnectiontothe server is terminated before exiting the program.
ii) logoff Causes the client to disconnect from the server, but not quit.
iii) #sethost Calls the setHost method in the client. Only allowed if the client is logged off; displays an error message otherwise.
iv) #setport Calls the setPort method in the client, with the sameconstraints as #sethost.
v) #login Causes the client to connect to the server. Only allowed if the client is not already connected; displays an error message otherwise.
vi) #gethost Displays the current host name.
vii) #getport Displays the current port number.
E7:
Client Side:
Implemented a basic mechanism by which clients have a ‘login id’ that is known both to the client and the server