Flags¶
Details¶
- class Infinity.AdoptedOperationFlags(value)¶
- Bases: - GObject.GFlags- Various flags for - Infinity.AdoptedOperation.- AFFECTS_BUFFER = 1¶
- The operation changes the content of the buffer. 
 - REVERSIBLE = 2¶
- The operation is reversible, which means that - Infinity.AdoptedOperation.revert() can be called to generate an operation that undoes the effect of the operation.
 
- class Infinity.CertificateVerifyFlags(value)¶
- Bases: - GObject.GFlags- Various flags for why a certificate is not trusted. - HOSTNAME_MISMATCH = 1¶
- The hostname of the machine connected to does not match the one from the certificate. 
 - ISSUER_NOT_KNOWN = 2¶
- The issuer of the certificate is not trusted, i.e. is not in the list of trusted CAs. 
 - NOT_PINNED = 4¶
- We have pinned a certificate for this host, but the certificate presented is a different one. 
 
- class Infinity.ChatBufferMessageFlags(value)¶
- Bases: - GObject.GFlags- Possible chat message flags. - BACKLOG = 1¶
- The message is a backlog message, i.e. it originated in a previous session. 
 
- class Infinity.IoEvent(value)¶
- Bases: - GObject.GFlags- This enumeration specifies events that can be watched. - INCOMING = 1¶
- Data can be read from the socket without blocking, or the connection has been closed (which is the case when recv() returns 0). 
 - OUTGOING = 2¶
- Data can be sent without blocking. 
 - ERROR = 4¶
- An error with the socket occurred, or the connection has been closed. Use getsockopt() to read the %SO_ERROR option to find out what the problem is. 
 
- class Infinity.KeepaliveMask(value)¶
- Bases: - GObject.GFlags- This bitmask specifies which of the fields in - Infinity.Keepaliveoverride the system defaults. For fields that are not enabled in the bitmask, the system default value is taken, and the corresponding field in- Infinity.Keepaliveis ignored.- ENABLED = 1¶
- Whether the keepalive mechanism is explicitly enabled or disabled. 
 - TIME = 2¶
- Whether the keepalive time is overriding the system default. 
 - INTERVAL = 4¶
- Whether the keepalive interval is overriding the system default. 
 - ALL = 7¶
- All previous values combined. 
 
- class Infinity.UserFlags(value)¶
- Bases: - GObject.GFlags- Additional flags for - Infinity.User.- LOCAL = 1¶
- The user is local, i.e. joined by the local instance.