Commit Graph

25 Commits

Author SHA1 Message Date
Chris Boden
c5597edd55 Bug fix
Fixed Socket Exception bug, forgot to pass context
2011-11-21 11:13:41 -05:00
Chris Boden
62962bb27f Removed legacy code
Removed all traces of ObserverInterface
Added getRemoteAddress method to socket
2011-11-21 11:02:04 -05:00
Chris Boden
1b01582ab9 SocketInterface
Added unix socket methods to interface, replaced __call/call_user_func calls with concrete methods
2011-11-20 20:38:20 -05:00
Chris Boden
f3c7dd4d7f Socket Proxy
Replaced passing SocketInterface everywhere with a proxy object
2011-11-14 15:56:30 -05:00
Chris Boden
47b7110dc1 Namespaces
Fixed all the namespaces to match new folder structure
2011-11-12 20:51:54 -05:00
Chris Boden
d9283d9593 Updated Docs 2011-11-10 22:45:18 -05:00
Chris Boden
ad258e6eaa Socket Buffering
Server now buffers incoming messages until it (thinks it) receives the full message.
Slight tweak of HyBi-10: spacing, FIN indicator, continuation frame recognition
Sockets close() if container is destroyed
2011-11-10 20:07:02 -05:00
Chris Boden
cf3ba7c4ad Bug fixes
Ratchet Exception now accepts SocketInterface for better troubleshooting
WebSocket protocol calls onOpen on child app after handshake
Misc little bugs found
2011-11-09 10:55:45 -05:00
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
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
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
eefbd2be41 Error handling, API documentation 2011-10-24 11:32:51 -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
3daaa99734 Added ability to create socket with configuration recommended from a protocol 2011-09-05 20:06:16 -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
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