Commit Graph

793 Commits

Author SHA1 Message Date
Chris Boden
c45962c7b4 Done todo's
Removed a bunch of @todo annotations that have been completed
2011-11-08 08:51:53 -05:00
Chris Boden
d880d29729 Refactoring
Refactored Command/Composite pattern, now as expected
Server recursively executes commands
Above changes fixed issues of server/client not being notified on forced disconnects
2011-11-07 16:02:01 -05:00
Chris Boden
66e656ec63 Documentation 2011-11-07 12:06:01 -05:00
Chris Boden
60a8a04e40 Cleanup
Fixed bad interface implementation in Close Command
Removed old code from Composite (now in Factory)
Removed done @todo's
Cleaned up Ping/Pong
Added HyBi-10 frame/unframe test
2011-11-07 11:55:07 -05:00
Chris Boden
1ba8021df8 Parse HTTP header fix
Using a standard method to parse the HTTP headers, with partial fallback
2011-11-07 10:29:18 -05:00
Chris Boden
1495354e7c HTTP parser bug fix 2011-11-07 10:17:39 -05:00
Chris Boden
0de53cf7ee Refactored Commands 2011-11-06 18:24:50 -05:00
Chris Boden
a6073a87eb Communication between versions
HyBi-10 and Hixie-76 can now talk to each other!
2011-11-01 15:19:03 -04:00
Chris Boden
6a5c708775 README
Added PHP syntax to README
2011-11-01 14:34:29 -04:00
Chris Boden
1fe4b051be Updated README
Added a bit more details, described WebSocket support
2011-11-01 14:33:44 -04:00
Chris Boden
2d7774fd65 Hixie-76 protocol
Implemented WebSocket Hixie-76 protocol
2011-11-01 14:10:12 -04:00
Chris Boden
7c5c5ed6ce Standardized Interfaces
Allowed null to be returned instead of NullCommand on Observers
Removed profanity
2011-11-01 11:44:28 -04:00
Chris Boden
68e718cc54 Documentation
Updated the simple user documentation in README
2011-11-01 11:14:23 -04:00
Chris Boden
f9d609074c Moar cleaning
Added a few unit tests
Added MIT license
Changed Array's to array's
2011-11-01 11:01:43 -04:00
Chris Boden
d4d67eba44 Cleanup
Removed another couple unused methods
2011-11-01 09:55:10 -04:00
Chris Boden
3127efc981 Cleanup
Removed redundant Interfaces
Removed a number of unused methods
2011-11-01 09:52:41 -04:00
Chris Boden
57a4500d82 Frame WebSocket outgoing messages
Implemented framing/unframing code from @lemmingzshadow for HyBi-10 protocol
2011-10-31 17:34:42 -04:00
Chris Boden
01b51041d5 API documentation 2011-10-28 15:15:23 -04:00
Chris Boden
07f5d49996 Readme
Updated the README file to reflect application structure changes
2011-10-28 14:20:25 -04:00
Chris Boden
51d0516aa3 Cleanup
Application stack working!
Existing unit tests fixed
Implemented HyBi-10 unframing
2011-10-28 14:12:39 -04:00
Chris Boden
7514ce8e85 Cleaning Up
Cleaned up a lot of the code
Added API documentation
Fixed some unit tests
Much cleaning left to be done
2011-10-27 19:17:38 -04:00
Chris Boden
1c0b8ed32d Restructure Overhaul
Server accepts single Observable object (was Chain of Responsibility)
WebSocket is decorator of application implementing Observable
Observable interface returns Command pattern object
Interfaced all the things
Code is a mess
Unit tests are broken
2011-10-27 18:36:29 -04:00
Chris Boden
ed1a35ff74 HyBi-10 handshake
Hackishly implemented the HyBi-10 handshake
2011-10-27 13:07:24 -04:00
Chris Boden
3af575b4e9 Cleanup 2011-10-25 08:58:36 -04:00
Chris Boden
5b99af0f82 Unit Testing 2011-10-24 14:05:54 -04:00
Chris Boden
6ac2272114 Cleanup
Removed Aggregator idea
Server implements ArrayAggregator, stores ArrayIterator
Unit tests cleanup
2011-10-24 13:26:36 -04:00
Chris Boden
eefbd2be41 Error handling, API documentation 2011-10-24 11:32:51 -04:00
Chris Boden
5ee0d1291d Logging
Added logging to application, monolog adapter
2011-10-24 10:38:26 -04:00
Chris Boden
b08fcd3105 Refactoring
Separated socket server actions into separate methods.
Removed master socket from list of clients
2011-10-24 09:47:33 -04:00
Chris Boden
ac8644125c Refactoring
Major restructure, dropped aggregate idea, can't get around php golden hammer, the all mighty array, problem
Unit tests broken
2011-10-24 09:26:15 -04:00
Chris Boden
3ef9f45de5 Attempting to circumvent "golden hammer" issue 2011-09-07 11:19:28 -04:00
Chris Boden
f2423f09e5 Fixed Socket bugs from Unit Testing 2011-09-06 14:30:14 -04:00
Chris Boden
203b68b9cb Updated README 2011-09-06 08:49:04 -04:00
Chris Boden
3daaa99734 Added ability to create socket with configuration recommended from a protocol 2011-09-05 20:06:16 -04:00
Chris Boden
9bc0cbce25 Changed attempt to use decorator pattern for everything to chain of command pattern 2011-09-05 19:39:37 -04:00
Chris Boden
30ce6c0386 Server building 2011-09-05 18:39:36 -04:00
Chris Boden
45fb69d68b Unit testing coverage 2011-09-05 17:34:51 -04:00
Chris Boden
f17f59856e Started observer pattern, API updates, unit tests 2011-09-05 13:10:57 -04:00
Chris Boden
5ce4a7b837 Stubs, coverage, api docs 2011-09-05 08:53:21 -04:00
Chris Boden
04875dadcd Unit testing coverage 2011-09-04 20:47:43 -04:00
Chris Boden
2811cdbd48 Mock Socket, Interfaces, Test stubs 2011-09-04 18:26:57 -04:00
Chris Boden
8c9f55240c Structure/stubs 2011-09-04 17:30:21 -04:00
Chris Boden
5320efe4e7 File structure set, Hiby10 token handshake complete and unit tested 2011-09-04 12:11:24 -04:00