Infinityd.XmlServer

g GObject.GInterface GObject.GInterface Infinityd.XmlServer Infinityd.XmlServer GObject.GInterface->Infinityd.XmlServer

Implementations:

Infinityd.XmppServer

Methods

close ()

new_connection (connection)

Virtual Methods

do_close ()

do_new_connection (connection)

Properties

Name

Type

Flags

Short Description

status

Infinityd.XmlServerStatus

r

The status of the server

Signals

Name

Short Description

new-connection

Fields

None

Class Details

class Infinityd.XmlServer
Bases:

GObject.GInterface

Structure:

Infinityd.XmlServerInterface

close()

Closes self.

new_connection(connection)
Parameters:

connection (Infinity.XmlConnection) – A Infinity.XmlConnection.

Emits the “new-connection” signal on self.

do_close() virtual

Closes server.

do_new_connection(connection) virtual
Parameters:

connection (Infinity.XmlConnection) – A Infinity.XmlConnection.

Emits the “new-connection” signal on server.

Signal Details

Infinityd.XmlServer.signals.new_connection(xml_server, object)
Signal Name:

new-connection

Flags:

RUN_LAST

Parameters:

Property Details

Infinityd.XmlServer.props.status
Name:

status

Type:

Infinityd.XmlServerStatus

Default Value:

Infinityd.XmlServerStatus.CLOSED

Flags:

READABLE

The status of the server