Infinity.SessionProxy¶
- Implementations:
None
Methods¶
|
Virtual Methods¶
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The underlying session object |
Signals¶
None
Fields¶
None
Class Details¶
- class Infinity.SessionProxy¶
- Bases:
- Structure:
Infinity.SessionProxy
is an opaque data type. You should only access it via the public API functions.- join_user(params, func, *user_data)¶
- Parameters:
params ([
GObject.Parameter
]) – Construction properties for theInfinity.User
(or derived) object.func (
Infinity.RequestFunc
) – Function to be called on completion of the user join, orNone
.user_data (
object
orNone
) – Additional data to be passed to func.
- Returns:
A
Infinity.Request
object that may be used to get notified when the request finishes, orNone
.- Return type:
Requests a user join for a user with the given properties (which must not include
Infinity.User
:id
orInfinity.User
:flags
since these are chosen by the session proxy). TheInfinity.User
:status
property is optional and defaults toInfinity.UserStatus.ACTIVE
if not given. It must not beInfinity.UserStatus.UNAVAILABLE
.The request might either finish during the call to this function, in which case func will be called and
None
being returned. If the request does not finish within the function call, aInfinity.Request
object is returned, where func has been installed for theInfinity.Request
::finished
signal, so that it is called as soon as the request finishes.
- do_join_user(params, func, *user_data) virtual¶
- Parameters:
params ([
GObject.Parameter
]) – Construction properties for theInfinity.User
(or derived) object.func (
Infinity.RequestFunc
) – Function to be called on completion of the user join, orNone
.user_data (
object
orNone
) – Additional data to be passed to func.
- Returns:
A
Infinity.Request
object that may be used to get notified when the request finishes, orNone
.- Return type:
Requests a user join for a user with the given properties (which must not include
Infinity.User
:id
orInfinity.User
:flags
since these are chosen by the session proxy). TheInfinity.User
:status
property is optional and defaults toInfinity.UserStatus.ACTIVE
if not given. It must not beInfinity.UserStatus.UNAVAILABLE
.The request might either finish during the call to this function, in which case func will be called and
None
being returned. If the request does not finish within the function call, aInfinity.Request
object is returned, where func has been installed for theInfinity.Request
::finished
signal, so that it is called as soon as the request finishes.
Property Details¶
- Infinity.SessionProxy.props.session¶
- Name:
session
- Type:
- Default Value:
- Flags:
The underlying session object