Network Design: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
Magodra (talk | contribs)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Design ==
== Design ==
This page describe some of the sequences in the Network Design between components. For implementation details in the Server/Clients see the [[Detailed Network Design]] page.
===Classes===
===Classes===
<uml>
psMessageCracker <|- NPCAuthent
psMessageCracker <|- MsgStrings
MsgHandler "1" --* "0..N" Subscription
MsgHandler "1" --* "1" NetBase
MsgHandler "1" --* "1" MsgQueue
NetBase "1" --* "0..N" psNetPacketEntry : packets
NetBase "1" --* "1" NetPacketQueue : NetworkQueue
NetBase "1" --* "0..N" NetPacketQueue : senders
NetBase "1" --* "0..N" MsgQueue : inqueues
NetBase "1" --* "0..N" psNetPacketEntry : awaitingack
class Connection {
  +uint32_t sequence
</uml>


===Sequences===
===Sequences===
Line 43: Line 26:
PSServer -\\ NPCClient : NPCList
PSServer -\\ NPCClient : NPCList
PSServer //- NPCClient : NPCReady
PSServer //- NPCClient : NPCReady
NPCClient ->> Admin : Load Completed
PSServer ->> Admin : Load Completed
== NPC Client Ready ==
== NPC Client Ready ==
loop
loop
Line 95: Line 80:


note over Client : there are more...
note over Client : there are more...
</uml>
==== Client Movement ====
<uml>
autonumber
participant User
participant NPCClient
participant Server
User ->> Client : KeyboardInput
Server //- Client : psDRMessage
Server -\\ Client : psDRMessage
</uml>
</uml>




[[Category:Engine documents]]
[[Category:Engine documents]] [[Category:NPCClient Design]]  [[Category:Server Design]]

Latest revision as of 18:52, 2 January 2013

Design

This page describe some of the sequences in the Network Design between components. For implementation details in the Server/Clients see the Detailed Network Design page.

Classes

Sequences

Start up NPCClient

Start up Client

Client Movement