Chris Smith
136329c27d
Create a separate coroutine context per test
пре 5 година
Chris Smith
8f27a42b4e
Add timeout to TLS tests
пре 5 година
Chris Smith
445d987345
Couple more TLS tests
пре 5 година
Chris Smith
28c9400250
Add some TLS tests, fix a leaky buffer
пре 5 година
Chris Smith
622e2e2539
Tidy up and reduce copying of byte buffers
пре 5 година
Chris Smith
f1ecbf256f
Prefer IPv6, default to TLS
пре 5 година
Chris Smith
96449f98a1
Replace ktor with plain socket code.
Closes #14
пре 5 година
Chris Smith
eacdf03763
Fix handling of long lines.
If we multiple long lines in succession the start index got
miscalculated and part of the latter lines discarded.
пре 5 година
Chris Smith
070d502463
Initial work on exposing async methods
Move message processors into their own package
Update ktor
пре 5 година
Chris Smith
4c1be015cd
Migrate all tests to mockk
пре 5 година
Chris Smith
92c642e550
Add BATCH support
Closes #11
пре 5 година
Chris Smith
c40ebf68c0
Switch from `time` to `metadata`, store batch ID
пре 5 година
Chris Smith
0117d981a2
Event mutators
пре 5 година
Chris Smith
5033040325
Add some topic events (no state yet)
Move handlers to their own packages
Update JUnit
пре 5 година
Chris Smith
e64b705412
Improve couroutines and channel use in the socket
пре 5 година
Chris Smith
16b6496566
Extract server names nicely
пре 5 година
Chris Smith
74dd02ca3a
Rework how writing lines works, again.
To preserve the order of lines we offer them into a channel
without suspending. If we launch a new coroutine there's no
guarantee they'll execute in order, even if the method they
call is fair.
пре 5 година
Chris Smith
812ec4990b
Better server state handling
Expose status (connecting, negotiating, ready)
Fire ServerReady and ServerConnected events
пре 5 година
Chris Smith
c6b0471761
Raise ServerConnected event, track status nicely
пре 5 година
Chris Smith
b0d3c17663
Fix bad import in tests
пре 5 година
Chris Smith
14a192379b
TLS support
пре 5 година
Chris Smith
7e54d86956
Expose message time in events
пре 5 година
Chris Smith
b0941e1047
Tag parsing support
пре 5 година
Chris Smith
36c7acfe2a
Add rudimentary PRIVMSG handling
пре 5 година
Chris Smith
f2e081e6c7
Introduce event handlers, refactor message processors.
пре 5 година
Chris Smith
89ad92f562
Logging, ping handling
пре 5 година
Chris Smith
c8eb193bde
Pass events back from processors
пре 5 година
Chris Smith
2a707a728a
Add a message handler
пре 5 година
Chris Smith
602c5e8b7a
Initial import, various supporting classes.
пре 5 година