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.SessionProxyis 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 (
objectorNone) – Additional data to be passed to func.
- Returns:
A
Infinity.Requestobject 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:idorInfinity.User:flagssince these are chosen by the session proxy). TheInfinity.User:statusproperty is optional and defaults toInfinity.UserStatus.ACTIVEif 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
Nonebeing returned. If the request does not finish within the function call, aInfinity.Requestobject is returned, where func has been installed for theInfinity.Request::finishedsignal, 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 (
objectorNone) – Additional data to be passed to func.
- Returns:
A
Infinity.Requestobject 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:idorInfinity.User:flagssince these are chosen by the session proxy). TheInfinity.User:statusproperty is optional and defaults toInfinity.UserStatus.ACTIVEif 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
Nonebeing returned. If the request does not finish within the function call, aInfinity.Requestobject is returned, where func has been installed for theInfinity.Request::finishedsignal, 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