Camel.NNTPAddress

g Camel.Address Camel.Address Camel.NNTPAddress Camel.NNTPAddress Camel.Address->Camel.NNTPAddress GObject.Object GObject.Object GObject.Object->Camel.Address

Subclasses:

None

Methods

Inherited:

Camel.Address (10), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

add (name)

get (index, namep)

Virtual Methods

Inherited:

Camel.Address (7), GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Camel.Address

r

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.