twisted.internet.address.UNIXAddress(FancyEqMixin, object)
class documentationtwisted.internet.address
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IAddress
Object representing a UNIX socket endpoint.
Instance Variable | name 0 | The filename associated with this socket. (type: bytes ) |
Method | __init__ | Undocumented |
Method | name 1 | Undocumented |
Method | name | On UNIX, paths are always bytes. However, as paths are unicode
on Python 3, and UNIXAddress
technically takes a file path, we convert it to bytes to maintain
compatibility with os.path on Python 3. |
Method | __eq__ | Overriding FancyEqMixin to ensure the os level samefile
check is done if the name attributes do not match. |
Method | __repr__ | Undocumented |
Method | __hash__ | Undocumented |
Inherited from FancyEqMixin:
Method | __ne__ | Undocumented |
On UNIX, paths are always bytes. However, as paths are unicode
on Python 3, and UNIXAddress
technically takes a file path, we convert it to bytes to maintain
compatibility with os.path
on Python 3.
Overriding FancyEqMixin
to ensure the os level samefile
check is done if the name attributes do not match.