Enums

Details

class Infinityd.ChatFilesystemFormatError(value)

Bases: GLib.Enum

Errors that can occur when reading a Infinity.ChatSession from a Infinityd.FilesystemStorage.

CHAT_FILESYSTEM_FORMAT_ERROR_NOT_A_CHAT_SESSION = 0

The file to be read is not a serialized chat session.

class Infinityd.FilesystemAccountStorageError(value)

Bases: GLib.Enum

Specifies the possible error codes in the INFD_FILESYSTEM_ACCOUNT_STORAGE_ERROR error domain. Such errors can occur when reading the accounts file from disk.

INVALID_FORMAT = 0

An on-disk XML file is not formatted correctly.

DUPLICATE_NAME = 1

An account name is already in use.

DUPLICATE_CERTIFICATE = 2

An account which uses the same certificate to login exists already.

IDS_EXHAUSTED = 3

Could not obtain a unique account ID.

NO_SUCH_ACCOUNT = 4

The account with the given ID does not exist.

class Infinityd.FilesystemStorageError(value)

Bases: GLib.Enum

INVALID_PATH = 0
REMOVE_FILES = 1
INVALID_FORMAT = 2
FAILED = 3
class Infinityd.StorageNodeType(value)

Bases: GObject.GEnum

SUBDIRECTORY = 0
NOTE = 1
class Infinityd.TcpServerStatus(value)

Bases: GObject.GEnum

CLOSED = 0
OPEN = 2
class Infinityd.XmlServerStatus(value)

Bases: GObject.GEnum

CLOSED = 0
CLOSING = 1
OPEN = 2
OPENING = 3