Camel.NNTPAddress
- Subclasses:
None
Class Details
-
class Camel.NNTPAddress(**kwargs)
- Bases:
Camel.Address
- Abstract:
No
- Structure:
Camel.NNTPAddressClass
-
classmethod new()
- Returns:
A new Camel.NNTPAddress
object.
- Return type:
Camel.NNTPAddress
Create a new Camel.NNTPAddress
object.
-
add(name)
- Parameters:
name (str
) – a new NNTP address to add
- Returns:
Index of added entry, or existing matching entry.
- Return type:
int
Add a new nntp address to the address object. Duplicates are not added twice.
-
get(index, namep)
- Parameters:
index (int
) – address’s array index
namep (str
) – Holder for the returned address, or None
, if not required.
- Returns:
True
if such an address exists, or False
otherwise.
- Return type:
bool
Get the address at index.