Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001085 [Croquet] Jasmine minor always 04-20-05 13:13 04-20-05 13:13
Reporter tak View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0001085: [FIX] TeaPartyRefactoring
Description This is a clean up code for croquet p2p network including a test case of TeaParty. The goal of the change set is to make the Jasmine network function be more stable. I know David Reed is developing newer TeaTime mechanism, but I couldn't wait it for my development of TVML-network animation stuff.

- NullTeapotMorph is added. This is used in a unit test as 'Null Object Pattern'.

- All socket and process is terminated gracefully and surely.

- A tunnel socket is handled by TeaParty, not TeaHost class side. (If a tunnel has already listened, another TeaParty in same image can not open any tunnel, this is needed for unit test)

- Some class variables TeaHosts in TeaHost were removed. a TeaHost only be referred from TeaParty.teaHostSet.

NOTE 1: These test codes were not passed in Machintosh. It is difficult to write a test code with network access and multi-process in multi-platform... But other codes should work well.

NOTE 2: I only tested default setting - enable tunnel, no internet.
Additional Information
Attached Files  TeaPartyRefactoring.cs [^] (38,535 bytes) 04-20-05 13:13

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-20-05 13:13 tak New Issue
04-20-05 13:13 tak File Added: TeaPartyRefactoring.cs
04-20-05 23:52 dbfaken Issue Monitored: dbfaken

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
32 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker