rsocket / rsocket-cpp

C++ implementation of RSocket
http://rsocket.io
Apache License 2.0
253 stars 99 forks source link

Adding support for temporarily accessing the underlying transport object for TcpDuplexConnection #805

Closed phoad closed 7 years ago

phoad commented 7 years ago

I need to get a pointer to the underlying Transport object to be able to fulfill requirements of an interface. So I have added getConnection and getTransport functions to the TcpDuplexConnection class and relevant classes. I kept the update at minimum to be able to accomplish the goal.