-
- Downloads
Factor out httpRendezvous separate from BrokerChannel.
Makes BrokerChannel abstract over a rendezvousMethod. BrokerChannel itself is responsible for keepLocalAddresses and the NAT type state, as well as encoding and decoding client poll messages. rendezvousMethod is only responsible for delivery of encoded messages.
Showing
- client/lib/lib_test.go 1 addition, 92 deletionsclient/lib/lib_test.go
- client/lib/rendezvous.go 35 additions, 64 deletionsclient/lib/rendezvous.go
- client/lib/rendezvous_http.go 77 additions, 0 deletionsclient/lib/rendezvous_http.go
- client/lib/rendezvous_test.go 145 additions, 0 deletionsclient/lib/rendezvous_test.go
Loading
Please register or sign in to comment