Monitor - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

Monitor

Description:

Make a connection to the Monitor. Active Client (20287) (8180) (8180) Active Client Code: ... Get checksum from Monitor. Active Client (20287) (21567) (8180) ... – PowerPoint PPT presentation

Number of Views:95
Avg rating:3.0/5.0
Slides: 20
Provided by: gaussE
Category:
Tags: monitor

less

Transcript and Presenter's Notes

Title: Monitor


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.getInput
Stream()) is new BufferedReader(isr) is.readLi
ne()
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
Write a Comment
User Comments (0)
About PowerShow.com