Home | Trees | Index | Help |
---|
Module dnet :: Class addr |
|
object
--+
|
addr
addr(addrtxt=None, type=ADDR_TYPE_NONE) -> network address object Create a network address object, optionally initialized from a human-readable Ethernet, IP, or IPv6 address string.
Method Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature... | |
x.__add__(y) <==> x+y... | |
x.__cmp__(y) <==> cmp(x,y)... | |
x.__contains__(y) <==> y in x... | |
__copy__(...)
| |
x.__hash__() <==> hash(x)... | |
x.__int__() <==> int(x)... | |
x.__iter__() <==> iter(x)... | |
x.__long__() <==> long(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
x.__radd__(y) <==> y+x... | |
x.__repr__() <==> repr(x)... | |
Return an addr object for our broadcast address. | |
Return an addr object for our network address. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... |
Class Variable Summary | |
---|---|
getset_descriptor |
bits = <attribute 'bits' of 'dnet.addr' objects>
|
getset_descriptor |
data = <attribute 'data' of 'dnet.addr' objects>
|
getset_descriptor |
eth = <attribute 'eth' of 'dnet.addr' objects>
|
getset_descriptor |
ip = <attribute 'ip' of 'dnet.addr' objects>
|
getset_descriptor |
ip6 = <attribute 'ip6' of 'dnet.addr' objects>
|
getset_descriptor |
type = <attribute 'type' of 'dnet.addr' objects>
|
Method Details |
---|
__init__(...)
|
__add__(x,
y)
|
__cmp__(x,
y)
|
__contains__(x,
y)
|
__hash__(x)
|
__int__(x)x.__int__() <==> int(x)
|
__iter__(x)x.__iter__() <==> iter(x)
|
__long__(x)x.__long__() <==> long(x)
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__radd__(x,
y)
|
__repr__(x)
|
bcast(...)Return an addr object for our broadcast address. |
net(...)Return an addr object for our network address. |
Class Variable Details |
---|
bits
|
data
|
eth
|
ip
|
ip6
|
type
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Jan 19 13:24:11 2006 | http://epydoc.sf.net |