Current we have an abstract transport, which abstract the network transport and have a very generic functionality like send
Here we want to abstract the janus specific transport, so for example we can decorate the message on the transport rather than on the connection. Also, this will help in decoupling the JaSession and JaHandle from JaConnection. And the transaction generation can be their, so JaConnection can have a single responsibility.
Current we have an abstract transport, which abstract the network transport and have a very generic functionality like
send
Here we want to abstract the janus specific transport, so for example we can decorate the message on the transport rather than on the connection. Also, this will help in decoupling the JaSession and JaHandle from JaConnection. And the transaction generation can be their, so JaConnection can have a single responsibility.