denarius-exchange / denarius

An open-source financial exchange
Other
35 stars 5 forks source link

Callbacks for matching and cancelling #34

Closed analyticbastard closed 10 years ago

analyticbastard commented 10 years ago

Callbacks for matching and cancelling need to be changed from a function made on the fly which contains the channel to send the notification back (made from a closure) to a function that actually searches a reference for the channel, in case the connection is lost and recovered somewhere else, this reference could be updated and the notification successfully sent back (it would now try to send to the old channel)