libevent :: MyFactory :: defaultinit
# Factory creating instances of `EchoConnection` to handle new connections
class MyFactory
super ConnectionFactory
redef fun spawn_connection(buf, address)
do
return new EchoConnection(buf)
end
end
lib/libevent/libevent_example.nit:20,1--28,3