evan-mcpherson
Uploaded by
19 SLIDES
330 VUES
190LIKES

Connecting to the Active Client Monitor Protocol for Real-Time Data Management

DESCRIPTION

This document outlines the process for establishing a connection to Monitor (8180) using the Active Client protocol. It details login procedures, including sending IDENT and PASSWORD commands, and retrieving host port for communication. Steps for maintaining the connection, including "Are You Alive" transactions, are specified to ensure the server remains responsive to client commands. The protocol is critical for real-time data management and monitoring, designed for efficient client-server interactions and maintaining connection integrity.

1 / 19

Télécharger la présentation

Connecting to the Active Client Monitor Protocol for Real-Time Data Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Monitor (8180)

  2. Start the Active Client Monitor (8180) Active Client (20287)

  3. Make a connection to the Monitor Monitor (8180) (8180) Active Client (20287) (8180) Active Client Code: Socket skt = new Socket("helios.ececs.uc.edu", 8180); out = new PrintWriter(skt.getOutputStream(), true); isr = new InputStreamReader(skt.getInputStream()); is = new BufferedReader(isr); is.readLine();

  4. Receive IDENT message group from Monitor Monitor (8180) (8180) Active Client (20287) (20287) Login Protocol: COMMENT: Monitor Version 2.2 REQUIRE: IDENT WAITING:

  5. Send IDENT command to Monitor Monitor (8180) (8180) Active Client (20287) (8180) Login Protocol: IDENT FRANCO

  6. Get PASSWORD directive from Monitor Monitor (8180) (8180) Active Client (20287) (20287) Login Protocol: RESULT: IDENT REQUIRE: PASSWORD WAITING:

  7. Send Password to Monitor Monitor (8180) (8180) Active Client (20287) (8180) Login Protocol: PASSWORD EYES_ARE_BLUE

  8. Get HOST_PORT directive & cookie from Monitor Monitor (8180) (8180) Active Client (20287) (20287) Login Protocol: RESULT: PASSWORD UYERWEEIOUYTUIU REQUIRE: HOST_PORT WAITING:

  9. Start Server Server Monitor (21567) (8180) (8180) Active Client (20287) Login Protocol:

  10. Send Server port (host port) to Monitor Server Monitor (21567) (8180) (8180) Active Client (20287) (8180) Login Protocol: HOST_PORT gauss.ececs.uc.edu 21567

  11. Get checksum from Monitor Server Monitor (21567) (21567) (8180) (8180) Active Client (20287) Are You Alive Transaction: COMMENT: Monitor Version 2.2 PARTICIPANT_PASSWORD_CHECKSUM: 78a74b94cd3778ef36635 REQUIRE: IDENT WAITING:

  12. Send IDENT command to Monitor Server Monitor (21567) (8180) (8180) (8180) Active Client (20287) Are You Alive Transaction: IDENT FRANCO

  13. Get checksum from Monitor Server Monitor (21567) (21567) (8180) (8180) Active Client (20287) Are You Alive Transaction: REQUIRE: ALIVE WAITING:

  14. Send ALIVE command to Monitor Server Monitor (21567) (8180) (8180) (8180) Active Client (20287) Are You Alive Transaction: ALIVE UYERWEEIOUYTUIU

  15. Complete ALIVE transaction Server Monitor (21567) (21567) (8180) (8180) Active Client (20287) Are You Alive Transaction: RESULT: ALIVE Identity has been verified REQUIRE: QUIT WAITING:

  16. Complete ALIVE transaction Server Monitor (21567) (8180) (8180) (8180) Active Client (20287) Are You Alive Transaction: QUIT

  17. Complete ALIVE transaction Server Monitor (21567) (21567) (8180) (8180) Active Client (20287) Are You Alive Transaction: RESULT: QUIT

  18. Complete Login transaction Server Monitor (21567) (8180) (8180) Active Client (20287) (20287) Login Protocol: RESULT: HOST_PORT GAUSS.ECECS.UC.EDU 21567

  19. Server Monitor (21567) (8180) (8180) Active Client (20287) Active Client may issue commands for 3 minutes Server waits for ALIVE requests from Monitor

More Related