ModemManager.BearerIpConfig¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.BearerIpConfig(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.BearerIpConfig
structure contains private data and should only be accessed using the provided API.- get_address()¶
- Returns:
a string with the IP address, or
None
if unknown. Do not free the returned value, it is owned by self.- Return type:
Gets the IP address to be used with this bearer.
New in version 1.0.
- get_dns()¶
- Returns:
a
None
-terminated array of strings. Do not free the returned value, it is owned by self.- Return type:
[
str
]
Gets the list of IP addresses of DNS servers to be used with this bearer.
New in version 1.0.
- get_gateway()¶
- Returns:
a string with the IP address, or
None
if unknown. Do not free the returned value, it is owned by self.- Return type:
Gets the IP address of the gateway to be used with this bearer.
New in version 1.0.
- get_method()¶
- Returns:
- Return type:
Gets the IP method to be used with this bearer.
New in version 1.0.
- get_mtu()¶
- Returns:
the MTU.
- Return type:
Gets the MTU to be used with this bearer.
New in version 1.4.