StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Application Demonstration - Essay Example

Cite this document
Summary
It keeps track of the various clients by ensuring their online status, maintains a list of Client IP addresses helps in creating sockets between the interacting clients and ensures facilitates the provision for…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER94.4% of users find it useful
Application Demonstration
Read Text Preview

Extract of sample "Application Demonstration"

1 Server + 2 The following sequence of actions depicts the chat-based interaction between two and the role of the server in such an interaction. The server application acts as the bridge between any clients. It keeps track of the various clients by ensuring their online status, maintains a list of Client IP addresses helps in creating sockets between the interacting clients and ensures facilitates the provision for message encryption and NAT traversal. On the other hand, the clients are supposed to receive the encrypted message from the server, extract the message and the sender client details and display all the relevant information to the client user in the requisite format.

The sequence of interaction is as shown below:The server object is initiated itself and starts to listen for incoming clients.A client logs in from the client application and upon proper authentication with the server, the client application’s IP address is stored by the server and the client’s status is made to ‘Online’.As such, at any given time, the server maintains two basic things, the list of contacts of any client (who are clients themselves), the clients who are online and the IP addresses of the online clients.

Upon successful login, the server sends a message (encrypted) to the customer that contains the list of contacts of the client and their online status.At the client end, the message is decrypted using predefined logic and the online and offline contacts are displayed to the customer in predefined separate formats (the online contacts are colored while the offline ones are grayed).The client tries to chat with a client by double clicking on a contact. This opens a dialog and sends an appropriate message giving details of the intended contact to the server.

The server receives the message and determines the contact. It checks whether the client contact is online, in which case, a socket with the client contact is opened. Otherwise, the server responds to the client with a ‘Contact offline at the moment, send offline message’ message.Using the new dialog, the client types a message and chooses the ‘Send’ option. The message is displayed in the message area and is transmitted to the server. The server receives the message, identifies the client contact to whom the message is to be sent and using the assigned socket, sends the message to the contact.

The message is received by the client contact and is displayed in the message area on top of all previous messages within the client’s chat dialog.Thus, any two clients continue to send and receive messages through the server application.In case a contact is offline, the server stores the message in its database. Whenever the client contact comes online, the server initially queries the database to determine if there were any offline messages. If there were any such messages, the server relays the offline messages to the client, wherein they are displayed in a separate dialog with the messages being grouped according to the client who sent the message.

Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Application Demonstration Essay Example | Topics and Well Written Essays - 500 words”, n.d.)
Application Demonstration Essay Example | Topics and Well Written Essays - 500 words. Retrieved from https://studentshare.org/miscellaneous/1540795-application-demonstration
(Application Demonstration Essay Example | Topics and Well Written Essays - 500 Words)
Application Demonstration Essay Example | Topics and Well Written Essays - 500 Words. https://studentshare.org/miscellaneous/1540795-application-demonstration.
“Application Demonstration Essay Example | Topics and Well Written Essays - 500 Words”, n.d. https://studentshare.org/miscellaneous/1540795-application-demonstration.
  • Cited: 0 times

CHECK THESE SAMPLES OF Application Demonstration

Experience Work of Intern Trainee in Al-Saham International

Lastly, the board of directors appreciated my efforts for such an intellectual and practical demonstration of my professionalism in the company.... The writer of this essay considers experience work a brokerage and investments company as an intern trainee.... My tasks were dealing clients, orders of the company....
1 Pages (250 words) Admission/Application Essay

US History

Democracy would however be interpreted in a different application to allow the freedoms of the slaves a better life as opposed to inhumane treatment of the time.... Contrary to the spirit of freedom to practice personal space and fundamental rights provided for in the Laissez-Faire, political evolution in the American context has had to struggle with the opposing force of government intervention in affairs of the society....
5 Pages (1250 words) Admission/Application Essay

James Rachels, The Challenge of Cultural Relativism

Africa Americans street demonstration on the extended labour hoursSlavery was a culture used in the colonial era but is still used in the current culture where democracy is a decree for independence.... Cultural Relativism challenges the human way of thinking on universality and objectivity of moral truth....
1 Pages (250 words) Admission/Application Essay

The Legal Perspective

The way that the demonstration or danger might not influence an individual of normal quality and sagacity is not vital in the event that it places fear in the individual really influenced and incites her to demonstration without wanting to.... In addition, it for the most part has been held that agreement affected by dangers of criminal indictment are voidable, paying little heed to whether the pressured gathering had carried out an unlawful demonstration....
2 Pages (500 words) Admission/Application Essay

Assignment

Likewise, when children observe their teacher kicking a doll during a learning session, for a demonstration, there is a tendency that they will pick up that behavior and begin kicking dolls also.... Observational learning, which is also known as social learning or modeling, is the kind of learning where one would learn or acquire knowledge through watching another person perform that behavior....
2 Pages (500 words) Admission/Application Essay

Film Analysis

Moreover, both factions have rights, and any violation brings about demonstration; as depicted by learners at Gallaudet.... As from the past, the movie industry has been producing a large number of films that ranged from brilliant cases of imaginative incompetence to trademarks of cinematic merit....
1 Pages (250 words) Admission/Application Essay

Ch 1

In addition, the possibility of social mobility results in application of effort by people in the lower classes, as demonstrated in the phrase, ‘he who knows Brahman becomes a Brahman (Novak 23).... The religion is based on ‘sacred knowledge', which was contained in sacred hymns called the ‘Vedas' by the Aryans, the original practitioners of Hinduism....
2 Pages (500 words) Admission/Application Essay

K-Pop as a Genre II

They advance this argument through the demonstration that girl group lyrics and videos fall into three categories.... Project entertainment group emphasizes the demonstration of youthful energy without referring to a polarizing or validating male presence.... The authors are inspired by the growing trend of girl groups in Korea, which symbolize a cultural era that expels an authoritarian ideology....
2 Pages (500 words) Admission/Application Essay
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us