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

Birleştirildi
dan 2018-10-29 19:32:02 +00:00 handlers içindeki 1 işlemeyi master ile birleştirdi
Sahibi
  • 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]
Üye
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/232
Üye
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/233
Üye
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/235
dan 2018-10-29 19:32:01 +00:00 değişiklik isteğini kapattı
Bu konuşmaya katılmak için oturum aç.
Değerlendirici yok
Kilometre Taşı Yok
Atanan Kişi Yok
2 Katılımcı
Bildirimler
Bitiş Tarihi
Bitiş tarihi geçersiz veya aralık dışında. Lütfen 'yyyy-aa-gg' biçimini kullanın.

Bitiş tarihi atanmadı.

Bağımlılıklar

Bağımlılık yok.

Referans: cwtch.im/cwtch#149
Herhangi bir açıklama sağlanmadı.