Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | the default PING implementation should reply with PONG | Jesse Luehrs | 2014-09-09 | 1 | -10/+0 |
| | |||||
* | propagate a few more errors | Jesse Luehrs | 2014-09-09 | 1 | -3/+6 |
| | |||||
* | move callbacks out to their own trait | Jesse Luehrs | 2014-09-09 | 1 | -29/+6 |
| | | | | | this reduces the amount of things users have to worry about reimplementing, since we don't have associated items yet | ||||
* | add callbacks for all messages | Jesse Luehrs | 2014-09-09 | 1 | -8/+10 |
| | | | | | i'm not sure that all of these callbacks (or parameters) are valid for clients, but they're all there for now for completeness | ||||
* | pass &Message around, since Message isn't copyable | Jesse Luehrs | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | start moving things into callbacks | Jesse Luehrs | 2014-09-08 | 1 | -8/+14 |
| | |||||
* | also provide a method to get a String out | Jesse Luehrs | 2014-09-08 | 1 | -1/+1 |
| | | | | not using this as the default ToStr because it's less easy to read | ||||
* | move the client implementation to a trait | Jesse Luehrs | 2014-09-08 | 1 | -1/+24 |
| | | | | this will allow us to more easily allow adding hooks | ||||
* | simplify | Jesse Luehrs | 2014-09-06 | 1 | -2/+2 |
| | |||||
* | have the example client respond to PING commands | Jesse Luehrs | 2014-09-06 | 1 | -1/+9 |
| | |||||
* | pass in the client to callbacks | Jesse Luehrs | 2014-09-06 | 1 | -2/+3 |
| | | | | | this requires run_loop_with to consume the client, since we need to be able to pass it in mutably. i think that is probably okay. | ||||
* | add a basic runloop | Jesse Luehrs | 2014-09-06 | 1 | -5/+3 |
| | |||||
* | move connection initialization into the client | Jesse Luehrs | 2014-09-04 | 1 | -24/+1 |
| | |||||
* | write some login messages on connect in the example | Jesse Luehrs | 2014-09-03 | 1 | -0/+23 |
| | |||||
* | simple client test | Jesse Luehrs | 2014-09-03 | 1 | -0/+10 |