Generic nn_callback class added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Minor fix to nn_callback

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Initial version of nn_ctx implemented

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
inproc_lat.R removed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Initial version of nn_timer implemented

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Initial implementation of nn_uscok

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Old AIO subsystem removed

This patch makes all transports non-functional, as well as
REQ and SURVEYOR sockets.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_callback simplified

Requires function pointer rather than complete vfptr.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_usock updated to work with nn_ctx

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_ctx_task implemented

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_usock delays immediate callbacks via ctx tasks

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Implementation of getopt and setopt simplified

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_sock_dstroy renamed to nn_sock_term

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Bug in worker.c fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Simple callbacks turned into full-blown state machines

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_fsm_enter function added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_sock and nn_sockbase separates to two distinct objects

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Initial work on turning everything into state machines done

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
usock state machine improved

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
stream classes improved

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>