Commit Graph

10 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 6c3ceaae36 Printing socket exception to console 2020-02-09 15:16:59 +01:00
Kai S. K. Engelbart 028399a3e6 Closing socket if MessageReader fails 2020-02-09 15:09:00 +01:00
Kai S. K. Engelbart 5cf2959e1a Fixed consecutive message writing 2020-01-11 10:53:01 +01:00
Kai S. K. Engelbart 35bce6dae7 Added getters for SocketAcceptor and SocketProcessor to Server 2020-01-03 17:55:37 +02:00
Kai S. K. Engelbart 282f9b916a Added listener mechanism for socket registration and cancellation 2020-01-03 17:19:40 +02:00
Kai S. K. Engelbart 58c8e0d98b Reformatted classes, added Javadoc headers 2019-12-28 11:43:48 +02:00
Kai S. K. Engelbart 7e3a23e093 Converted to Maven project, moved tests into package 2019-12-28 11:24:05 +02:00
Jakob Jenkov f9dfd56076 Server updated to have a single Server class which instantiates all the server components and can start the 2 server threads. 2015-10-24 14:48:03 +02:00
Jakob Jenkov 976ecb6af2 SocketSwitch was not used.
IMessageWriter + IMessageWriterFactory are not necessary, as messages are just buffers
that need to be drained to the socket. Instead we have a standard MessageWriter that does
that.
2015-10-22 21:16:29 +02:00
Jakob Jenkov 4bb99c6c38 First, not-so-clean version of the NIO server. 2015-10-22 20:02:55 +02:00