3. Parti sunucu backend #17

Open
opened 2024-02-10 22:47:32 +03:00 by saqut · 0 comments
Owner

Giriş

Application sunucusunu merkezde tutarak MWSE'ye bağlanan tüm clientlerin durumunu ve mesajlarını application sunucu üzerinden yöneterek tüm kontroller Application sunucusuna bırakılabilir

Gelişme

Bağlanma isteği Application'a sorulur ve onay verirse bağlantı kurulur yoksa reddedilir

[MWSE Client]  -----> [MWSE Server] -------  Connect?  ---> [Application Server]
[MWSE Client]  --OK-- [MWSE Server] <------ OK Connect ---- [Application Server]
OR
[MWSE Client]    X    [MWSE Server] <-------- REJECT ------ [Application Server]

Diğer cliente gönderilecek olan mesajlar Application'dan onay alınarak gönderilir

[MWSE Client 1]  --->-- [MWSE Server] ---- Send B To A user ---> [Application Server]
[MWSE Client 2]  ---<-- [MWSE Server] <-- OK Send B toA user --- [Application Server]

Application isterse mesajın değişmesini isteyebilir veya düzenleyebilir


[MWSE Client 1]  --->-- [MWSE Server] ------- Send 'Hi' ------> [Application Server]
[MWSE Client 2]  ---<-- [MWSE Server] <--- Recatived 'Hey!' --- [Application Server]

OR

[MWSE Client 1]  --->-- [MWSE Server] ------- Send 'Hi' ------> [Application Server]
[MWSE Client 2]  ---X-- [MWSE Server] <------- ignore --------- [Application Server]

Veya Application sunucusu kendisi mesaj oluşturabilir


[MWSE Client]  ---<-- [MWSE Server] <---- Recatived 'Hi' ---- [Application Server]
[MWSE Client]     X   [MWSE Server] <--- Disconnect User ----- [Application Server]

MWSE bağlantı kopmalarınıda iletecektir


[MWSE Client]     X   [MWSE Server] ---- Disconnected User ----> [Application Server]

Sonuç

Bu durumda MWSE Client ve Server arasında Websoket protokolü kullanan Proxy server gibi kullanılabilecektir

## Giriş Application sunucusunu merkezde tutarak MWSE'ye bağlanan tüm clientlerin durumunu ve mesajlarını application sunucu üzerinden yöneterek tüm kontroller Application sunucusuna bırakılabilir ## Gelişme Bağlanma isteği Application'a sorulur ve onay verirse bağlantı kurulur yoksa reddedilir ```text [MWSE Client] -----> [MWSE Server] ------- Connect? ---> [Application Server] [MWSE Client] --OK-- [MWSE Server] <------ OK Connect ---- [Application Server] OR [MWSE Client] X [MWSE Server] <-------- REJECT ------ [Application Server] ``` Diğer cliente gönderilecek olan mesajlar Application'dan onay alınarak gönderilir ```text [MWSE Client 1] --->-- [MWSE Server] ---- Send B To A user ---> [Application Server] [MWSE Client 2] ---<-- [MWSE Server] <-- OK Send B toA user --- [Application Server] ``` Application isterse mesajın değişmesini isteyebilir veya düzenleyebilir ```text [MWSE Client 1] --->-- [MWSE Server] ------- Send 'Hi' ------> [Application Server] [MWSE Client 2] ---<-- [MWSE Server] <--- Recatived 'Hey!' --- [Application Server] OR [MWSE Client 1] --->-- [MWSE Server] ------- Send 'Hi' ------> [Application Server] [MWSE Client 2] ---X-- [MWSE Server] <------- ignore --------- [Application Server] ``` Veya Application sunucusu kendisi mesaj oluşturabilir ```text [MWSE Client] ---<-- [MWSE Server] <---- Recatived 'Hi' ---- [Application Server] [MWSE Client] X [MWSE Server] <--- Disconnect User ----- [Application Server] ``` MWSE bağlantı kopmalarınıda iletecektir ```text [MWSE Client] X [MWSE Server] ---- Disconnected User ----> [Application Server] ``` ## Sonuç Bu durumda MWSE Client ve Server arasında Websoket protokolü kullanan Proxy server gibi kullanılabilecektir
saqut added this to the Version 2 project 2024-02-10 22:47:32 +03:00
saqut added a new dependency 2024-02-10 22:49:13 +03:00
saqut removed a dependency 2024-02-10 22:49:25 +03:00
saqut added a new dependency 2024-02-10 22:49:32 +03:00
saqut removed a dependency 2024-02-10 22:50:21 +03:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: saqut/MWSE#17
No description provided.