EMU/Protocol: Difference between revisions

From EiffelStudio: an EiffelSoftware project
Jump to navigation Jump to search
Barnski (talk | contribs)
No edit summary
 
Barnski (talk | contribs)
Line 1: Line 1:
===Messages===
===Messages===
====Connection Establishment====
Messages are encapsulated within objects that are being transmitted over the network.


====Synchronization Check====
====Client====
login
version
projectname
username
password


====Data Transfer====
update_request
wants to receive new files


====Connection Closure====
unlock_request
wants to edit a code chunk
 
upload_chunk
upload an edited chunk
 
relock_request
wants to end locking session
 
lock_status_request
get information about all classes
 
online_status_request
get information about online users
 
logout
informs about a logout of the client
 
====Server====
login_accepted
 
login_denied
 
update
class files
 
unlock_request_granted
checks status
sets status
 
unlock_request_denied
status information
 
lock_status
send status information of all classes
 
online_status
send status of users online
 
server_down
send information about server down
 
send_message
send a message to all clients

Revision as of 17:32, 17 May 2006

Messages

Messages are encapsulated within objects that are being transmitted over the network.

Client

login version projectname username password

update_request wants to receive new files

unlock_request wants to edit a code chunk

upload_chunk upload an edited chunk

relock_request wants to end locking session

lock_status_request get information about all classes

online_status_request get information about online users

logout informs about a logout of the client

Server

login_accepted

login_denied

update class files

unlock_request_granted checks status sets status

unlock_request_denied status information

lock_status send status information of all classes

online_status send status of users online

server_down send information about server down

send_message send a message to all clients