'PDS'에 해당되는 글 1건

  1. 2009.07.28 Project DarkStar Server Application Tutorial List (3)
2009.07.28 17:26

Project DarkStar Server Application Tutorial List


Project Darkstar Server

Application Tutorial

 

Contents

 

Introduction vi

Coding Project Darkstar Server Applications 1

 

Goals and Philosophy 1

 

Approach to Execution 1

Tasks and Managers 1

Task Ordering 2

Task Lifetime 2

 

Managed Objects and Managed References 3

Accessing Managed Objects through Managed References 3

Designing Your Managed Objects 4

The Player Managed Object 5

The AppListener 6

 

Locating the Server API Classes 9

System Classes and Interfaces 9

Task Manager Classes and Interfaces 10

Data Manager Classes and Interfaces 10

Channel Manager Classes and Interfaces 11

 

Lesson One: Hello World! 12

 

Coding HelloWorld 12

HelloWorld 12

 

Running HelloWorld 13

Rerunning HelloWorld 14

 

Lesson Two: Hello Logger! 17


Coding HelloLogger 17

HelloLogger 17


The Logging Properties File 18


Lesson 3: Tasks, Managers, and Hello Timer! 19

 

Tasks 19

 

Managers 19

 

Coding HelloTimer 20

HelloTimer 20

Project Darkstar Server Application Tutorial 05/29/09 iv

 

Lesson 4: Hello Persistence! 23

 

Coding HelloPersistence 23

HelloPersistence 23

 

Coding HelloPersistence2 25

HelloPersistence2 26

TrivialTimedTask 27

 

Coding HelloPersistence3 28

HelloPersistence3 29

 

Lesson 5: Hello User! 32

 

Knowing When a User Logs In 32

HelloUser 32

 

Direct Communication 33

HelloUser2 33

HelloUserSessionListener 34

HelloEchoSessionListener 36

 

Running the Examples 38

 

Lesson 6: Hello Channels! 39

 

Coding HelloChannels 39

HelloChannels 39

HelloChannelsSessionListener 41

HelloChannelsChannelListener 43

 

Running HelloChannels 44

 

Conclusion 45

 

Best Practices 45

 

Things Not Covered in This Tutorial 47

 

Appendix A: SwordWorld Example Code 49

Sword World 49

SwordWorldObject 52

SwordWorldRoom 54

SwordWorldPlayer 58

Trackback 0 Comment 3
  1. Favicon of http://www.thesispaperswriting.com/management_thesis.htm BlogIcon Management Thesis 2012.04.25 00:31 address edit & del reply

    아주 좋은 블로그와 나는 하드 작업을 정말로 감사합니다 .. 그리고 당신이 매일 블로그를 업데이 트 바란다

  2. Favicon of http://www.vietnamcyclingtours.com BlogIcon vietnam cycle tours 2012.08.27 12:48 address edit & del reply

    어떻게 좋은 방법이 문서가 있으며, 얼마나 쉬운는이 주제에 점을 이해하는 것입니다.

  3. Favicon of http://7645.foodsnute.com/michaelkors.php BlogIcon Michael Kors outlet 2013.07.23 08:45 address edit & del reply

    태양이 바다에 미광을 비추면,나는 너를 생각한다.