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

병합
dan handlers 에서 master 로 1 commits 를 머지했습니다 2018-10-29 19:32:02 +00:00
소유자
  • 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]
멤버
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/232
멤버
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/233
멤버
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/235
dan closed this pull request 2018-10-29 19:32:01 +00:00
"로그인하여 이 대화에 참여"
No reviewers
마일스톤 없음
담당자 없음
참여자 2명
알림
마감일
기한이 올바르지 않거나 범위를 벗어났습니다. 'yyyy-mm-dd'형식을 사용해주십시오.

마감일이 설정되지 않았습니다.

의존성

No dependencies set.

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