[Twisted-Python] Does anyone need / make use of SSHTransportAddress introduced in 12.1 ?
Adi Roiban
adi at roiban.ro
Wed Mar 18 04:58:40 MDT 2015
On 18 March 2015 at 10:33, <exarkun at twistedmatrix.com> wrote:
> On 17 Mar, 01:44 pm, adi at roiban.ro wrote:
>>
>>
>> Am I the only one who fails to see the advantages of using
>> SSHTransportAddress over a normal IAddress?
>
>
> This doesn't make any sense. `IAddress` has no attributes or methods. You
> can't do *anything* with an object that only provides `IAddress`.
>
> Jean-Paul
True. I was thinking at IPv4Address and IPv6Address.
Thanks for the follow up. I have change getHost and getPeer for conch
to return SSHTransportAddress and pushed changes for review.
--
Adi Roiban
More information about the Twisted-Python
mailing list