custom handlers for arbitrary channel types in cwtch peer-peer connections #149

Sloučený
dan sloučil 1 commity z větve handlers do větve master před 2018-10-29 19:32:02 +00:00
Vlastník
  • create an ApplicationInstanceFactory with handlers for as many channels of any types you like, and register them with a cwtch peer
    • doesn't clobber the underlying aif and its associated cwtch management channels
    • set by SetApplicationInstanceFactory(...) instead of in the constructor to preserve backwards compatibility
  • use DoOnChannel(...) to perform an operation on an arbitrary channel type
    • provides .Do(func) wrapping
  • requires an update to libricochet-go as well

I have some good example code for this coming up in [redacted]

* create an ApplicationInstanceFactory with handlers for as many channels of any types you like, and register them with a cwtch peer * doesn't clobber the underlying aif and its associated cwtch management channels * set by SetApplicationInstanceFactory(...) instead of in the constructor to preserve backwards compatibility * use DoOnChannel(...) to perform an operation on an arbitrary channel type * provides .Do(func) wrapping * requires an update to libricochet-go as well I have some good example code for this coming up in [redacted]
Člen
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/232
Člen
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/233
Člen
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/235
dan uzavřel/a tento požadavek na natažení 2018-10-29 19:32:01 +00:00
Přihlaste se pro zapojení do konverzace.
Žádní posuzovatelé
Bez milníku
Bez zpracovatelů
2 účastníků
Oznámení
Termín dokončení
Termín dokončení není platný nebo je mimo rozsah. Použijte prosím formát „rrrr-mm-dd“.

Žádný termín dokončení.

Závislosti

Nejsou nastaveny žádné závislosti.

Reference: cwtch.im/cwtch#149
No description provided.