Sunday 3 February 2008
Protocol Implementation
After a short break, I am now busy again with the project. Unfortunately not anymore with the speed I am used to.
The Buddy List implementation was much harder than I expected. Mostly MVC redundancy caused difficulties and I had to change some structure in the background. In order to check how it works I have to continue with the protocol which also gives me a headache. Here it’s the synchronisation which is kinda tricky, especially since the protocol has to be split into two lower level protocols.
My current design involves the usage of message which requires time accurate responses(some message need a correct response from the other side). E.g.:
• Server: Send a Buddy
• Client: Say whether Avatar is required
• Server: Send Avatar (if required)
Due to the required asynchronous communication it could happen different messages come in while waiting for a response.
At the moment I am planning to change the protocol design so, that I don’t depend on responses. I’m going to see tomorrow how I’m going to change it. Especially I have to check how to deal with file transfers.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment