Method | Description |
---|---|
__init__(self) | Constructor to initialize an AbstractNAT instance. |
performTranslation(self, session, addrs, nat_type) | Function that performs the address translation. |
Table 5.66. Method summary
This constructor initializes an AbstractNAT instance. Currently it does nothing, but serves as a placeholder for future extensions.
This function is called before connecting a session to the destination server. The function returns the address (a SockAddr instance) to bind to before establishing the connection.
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu