Remove 'Events#dispatch'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Remove 'Events#stop' and 'Events#isStopped'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Do not rely on 'Callback#idle' in PingClient

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Do not rely on 'Callback#idle' in ConnectionSendTest

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Do not rely on 'Callback#idle' in ConnectionTest

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Remove 'Callback#idle'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Remove 'EventSource#timeout'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Clean up 'EventSource#register'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Pass Events to 'EventSource#register'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Optimize handling of closed connections

Instead of iterating through all event sources after each and every
'Selector#select' or, in particular, 'Selector#selectNow', notice a
connection getting closed via 'ReadableChannel#read' returning -1.

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Remove 'EventSource#unregister'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Remove 'EventSource#isClosed'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Do not synchronize 'Connection#txBuffers'

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
Merge pull request #46 from jvirtanen/express

Express