Network Design: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| (23 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=== | |||
| ===Sequences=== | ===Sequences=== | ||
| Line 13: | Line 16: | ||
| == NPC Client Initialisation == | == NPC Client Initialisation == | ||
| PSServer //- NPCClient : NPCAuthent | PSServer //- NPCClient : NPCAuthent | ||
| PSServer -\\  | PSServer -\\ NPCClient : MsgStrings | ||
| PSServer -\\  | PSServer -\\ NPCClient : MapList | ||
| PSServer -\\  | PSServer -\\ NPCClient : NPCRaceList | ||
| PSServer -\\  | PSServer -\\ NPCClient : Weather | ||
| PSServer //-  | PSServer //- NPCClient : Persist ALL | ||
| loop | loop | ||
|    PSServer -\\  |    PSServer -\\ NPCClient : Persist All Entities | ||
| end | end | ||
| PSServer -\\  | PSServer -\\ NPCClient : NPCList | ||
| PSServer //-  | PSServer //- NPCClient : NPCReady | ||
| NPCClient ->> Admin : Load Completed | |||
| PSServer ->> Admin : Load Completed | |||
| == NPC Client Ready == | == NPC Client Ready == | ||
| loop | loop | ||
|    PSServer //-  |    PSServer //- NPCClient : NPCCommandList | ||
|    PSServer -\\  |    PSServer -\\ NPCClient : AllEntityPos | ||
| end | end | ||
| </uml> | |||
| ==== Start up Client ==== | |||
| <uml> | |||
| autonumber | |||
| participant User | |||
| participant NPCClient | |||
| participant Server | |||
| create Client | create Client | ||
| User ->> Client : Start | User ->> Client : Start | ||
| == Client Initialisation == | == Client Initialisation == | ||
| Server //- Client : PreAuthenticate | |||
| Server -\\ Client : PreAuthApproved | |||
| Server //- Client : Authenticate | |||
| Server -\\ Client : AuthApproved | |||
| Server -\\ Client : MsgStrings | |||
| Server -\\ Client : AdminCmd | |||
| Server -\\ Client : Weather | |||
| Server //- Client : MsgStrings | |||
| Server -\\ Client : MsgStrings | |||
| == Char Selected == | |||
| Server //- Client : AuthCharacter | |||
| Server -\\ Client : AuthCharacterApproved | |||
| Server //- Client : MOTDRequest | |||
| Server -\\ Client : MOTD | |||
| Server //- Client : RequestMovements | |||
| Server -\\ Client : MoveInfo | |||
| Server //- Client : PersistWorldRequest | |||
| Server -\\ Client : PersistWorld | |||
| Server -\\ Client : Weather | |||
| Server -\\ Client : StatDRUpdate | |||
| Server //- Client : PersistActorRequest | |||
| Server -\\ Client : PersistActor | |||
| Server -\\ Client : StatDRUpdate | |||
| Server //- Client : Stats | |||
| Server -\\ Client : Stats | |||
| Server //- Client : DeadReckoning | |||
| Server -\\ Client : PersistActionLocation | |||
| Server //- Client : StatDRUpdate | |||
| Server -\\ Client : StatDRUpdate | |||
| Server //- Client : GUIInventory | |||
| Server -\\ Client : GUIInventory | |||
| 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
