|
| | Client (string serverKey) |
| |
| | Client (string serverKey, IHttpAdapter adapter) |
| |
| | Client (string scheme, string host, int port, string serverKey) |
| |
| | Client (string scheme, string host, int port, string serverKey, IHttpAdapter adapter, bool autoRefreshSession=true) |
| |
| | Client (Uri uri, string serverKey) |
| |
| | Client (Uri uri, string serverKey, IHttpAdapter adapter, bool autoRefreshSession=true) |
| |
| async Task | AddFriendsAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Add one or more friends by id or username.- Parameters
-
| session | The session of the user. |
| ids | The ids of the users to add or invite as friends. |
| usernames | The usernames of the users to add as friends. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | AddGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Add one or more users to the group.- Parameters
-
| session | The session of the user. |
| groupId | The id of the group to add users into. |
| ids | The ids of the users to add or invite to the group. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task< ISession > | AuthenticateAppleAsync (string token, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with an Apple ID against the server.- Parameters
-
| username | A username used to create the user. |
| token | The ID token received from Apple to validate. |
| vars | Extra information that will be bundled in the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task< ISession > | AuthenticateCustomAsync (string id, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a custom id.- Parameters
-
| id | A custom identifier usually obtained from an external authentication service. |
| username | A username used to create the user. May be null . |
| create | If the user should be created when authenticated. |
| vars | Extra information that will be bundled in the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task< ISession > | AuthenticateDeviceAsync (string id, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a device id.- Parameters
-
| id | A device identifier usually obtained from a platform API. |
| username | A username used to create the user. May be null . |
| create | If the user should be created when authenticated. |
| vars | Extra information that will be bundled in the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task< ISession > | AuthenticateEmailAsync (string email, string password, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with an email and password.- Parameters
-
| email | The email address of the user. |
| password | The password for the user. |
| username | A username used to create the user. May be null . |
| create | If the user should be created when authenticated. |
| vars | Extra information that will be bundled in the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task< ISession > | AuthenticateFacebookAsync (string token, string username=null, bool create=true, bool import=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a Facebook auth token.- Parameters
-
| token | An OAuth access token from the Facebook SDK. |
| username | A username used to create the user. May be null . |
| create | If the user should be created when authenticated. |
| import | If the Facebook friends should be imported. |
| vars | Extra information that will be bundled in the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task< ISession > | AuthenticateGameCenterAsync (string bundleId, string playerId, string publicKeyUrl, string salt, string signature, string timestamp, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with Apple Game Center.- Parameters
-
| bundleId | The bundle id of the Game Center application. |
| playerId | The player id of the user in Game Center. |
| publicKeyUrl | The URL for the public encryption key. |
| salt | A random NSString used to compute the hash and keep it randomized. |
| signature | The verification signature data generated. |
| timestamp | The date and time that the signature was created. |
| username | A username used to create the user. May be null . |
| create | If the user should be created when authenticated. |
| vars | Extra information that will be bundled in the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task< ISession > | AuthenticateGoogleAsync (string token, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a Google auth token.- Parameters
-
| token | An OAuth access token from the Google SDK. |
| username | A username used to create the user. May be null . |
| create | If the user should be created when authenticated. |
| vars | Extra information that will be bundled in the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task< ISession > | AuthenticateSteamAsync (string token, string username=null, bool create=true, bool import=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a Steam auth token.- Parameters
-
| token | An authentication token from the Steam network. |
| username | A username used to create the user. May be null . |
| create | If the user should be created when authenticated. |
| vars | Extra information that will be bundled in the session token. |
| import | If the Steam friends should be imported. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a session object.
|
| |
| async Task | BanGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Ban a set of users from a group.- Parameters
-
| session | The session of the user. |
| groupId | The group to ban the users from. |
| ids | The ids of the users to ban. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | BlockFriendsAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Block one or more friends by id or username.- Parameters
-
| session | The session of the user. |
| ids | The ids of the users to block. |
| usernames | The usernames of the users to block. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task< IApiGroup > | CreateGroupAsync (ISession session, string name, string description="", string avatarUrl=null, string langTag=null, bool open=true, int maxCount=100, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Create a group.- Parameters
-
| session | The session of the user. |
| name | The name for the group. |
| description | A description for the group. |
| avatarUrl | An avatar url for the group. |
| langTag | A language tag in BCP-47 format for the group. |
| open | If the group should have open membership. |
| maxCount | The maximum number of members allowed. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a new group object.
|
| |
| async Task | DeleteAccountAsync (ISession session, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete the current user's account. Note that this will invalidate your session, requiring you to reauthenticate.- Parameters
-
| session | The session of the user. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | DeleteFriendsAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete one more or users by id or username from friends.- Parameters
-
| session | The session of the user. |
| ids | The user ids to remove as friends. |
| usernames | The usernames to remove as friends. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | DeleteGroupAsync (ISession session, string groupId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete a group by id.- Parameters
-
| session | The session of the user. |
| groupId | The group id to to remove. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | DeleteLeaderboardRecordAsync (ISession session, string leaderboardId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete a leaderboard record.- Parameters
-
| session | The session of the user. |
| leaderboardId | The id of the leaderboard with the record to be deleted. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | DeleteNotificationsAsync (ISession session, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete one or more notifications by id.- Parameters
-
| session | The session of the user. |
| ids | The notification ids to remove. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | DeleteStorageObjectsAsync (ISession session, StorageObjectId[] ids=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete one or more storage objects.- Parameters
-
| session | The session of the user. |
| ids | The ids of the objects to delete. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | DemoteGroupUsersAsync (ISession session, string groupId, IEnumerable< string > usernames, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Demote a set of users in a group to the next role down. - Parameters
-
| groupId | The group to demote users in. |
| userIds | The users to demote. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
Members who are already at the lowest rank will be skipped.
|
| |
| async Task | EventAsync (ISession session, string name, Dictionary< string, string > properties, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Submit an event for processing in the server's registered runtime custom events handler.- Parameters
-
| session | The session of the user. |
| name | The name of the event. |
| properties | The properties of the event. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task< IApiAccount > | GetAccountAsync (ISession session, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Fetch the user account owned by the session.- Parameters
-
| session | The session of the user. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the account object.
|
| |
| async Task< IApiValidatedSubscription > | GetSubscriptionAsync (ISession session, string productId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Get the subscription represented by the provided product id.- Parameters
-
| session | The session of the user. |
| productId | The product id. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the subscription.
|
| |
| async Task< IApiUsers > | GetUsersAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, IEnumerable< string > facebookIds=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Fetch one or more users by id, usernames, and Facebook ids.- Parameters
-
| session | The session of the user. |
| ids | The IDs of the users to retrieve. |
| usernames | The usernames of the users to retrieve. |
| facebookIds | The facebook IDs of the users to retrieve. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a collection of user objects.
|
| |
| async Task | ImportFacebookFriendsAsync (ISession session, string token, bool? reset=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Import Facebook friends and add them to the user's account.The server will import friends when the user authenticates with Facebook. This function can be used to be explicit with the import operation.
|
| |
| async Task | ImportSteamFriendsAsync (ISession session, string token, bool? reset=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Import Steam friends and add them to the user's account.The server will import friends when the user authenticates with Steam. This function can be used to be explicit with the import operation.
|
| |
| async Task | JoinGroupAsync (ISession session, string groupId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Join a group if it has open membership or request to join it.- Parameters
-
| session | The session of the user. |
| groupId | The ID of the group to join. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | JoinTournamentAsync (ISession session, string tournamentId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Join a tournament by ID.- Parameters
-
| session | The session of the user. |
| tournamentId | The ID of the tournament to join. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | KickGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Kick one or more users from the group.- Parameters
-
| session | The session of the user. |
| groupId | The ID of the group. |
| ids | The IDs of the users to kick. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LeaveGroupAsync (ISession session, string groupId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Leave a group by ID.- Parameters
-
| session | The session of the user. |
| groupId | The ID of the group to leave. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkAppleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link an Apple ID to the social profiles on the current user's account.- Parameters
-
| session | The session of the user. |
| token | The ID token received from Apple to validate. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkCustomAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a custom ID to the user account owned by the session.- Parameters
-
| session | The session of the user. |
| id | A custom identifier usually obtained from an external authentication service. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkDeviceAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a device ID to the user account owned by the session.- Parameters
-
| session | The session of the user. |
| id | A device identifier usually obtained from a platform API. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkEmailAsync (ISession session, string email, string password, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link an email with password to the user account owned by the session.- Parameters
-
| session | The session of the user. |
| email | The email address of the user. |
| password | The password for the user. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkFacebookAsync (ISession session, string token, bool? import=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Facebook profile to a user account.- Parameters
-
| session | The session of the user. |
| token | An OAuth access token from the Facebook SDK. |
| import | If the Facebook friends should be imported. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkGameCenterAsync (ISession session, string bundleId, string playerId, string publicKeyUrl, string salt, string signature, string timestamp, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Game Center profile to a user account.- Parameters
-
| session | The session of the user. |
| bundleId | The bundle ID of the Game Center application. |
| playerId | The player ID of the user in Game Center. |
| publicKeyUrl | The URL for the public encryption key. |
| salt | A random NSString used to compute the hash and keep it randomized. |
| signature | The verification signature data generated. |
| timestamp | The date and time that the signature was created. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkGoogleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Google profile to a user account.- Parameters
-
| session | The session of the user. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
| token | An OAuth access token from the Google SDK. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | LinkSteamAsync (ISession session, string token, bool sync, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Steam profile to a user account.- Parameters
-
| session | The session of the user. |
| token | An authentication token from the Steam network. |
| import | If the Steam friends should be imported. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| Task< IApiChannelMessageList > | ListChannelMessagesAsync (ISession session, IChannel channel, int limit=1, bool forward=true, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List messages from a chat channel.- Parameters
-
| session | The session of the user. |
| channel | The chat channel object. |
| limit | The number of chat messages to list. |
| forward | Fetch messages forward from the current cursor (or the start, RetryConfiguration retryConfiguration = null, CancellationToken canceller = default). |
| cursor | A cursor for the current position in the messages history to list. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the channel message list object.
|
| |
| async Task< IApiChannelMessageList > | ListChannelMessagesAsync (ISession session, string channelId, int limit=1, bool forward=true, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List messages from a chat channel.- Parameters
-
| session | The session of the user. |
| channelId | A channel identifier. |
| limit | The number of chat messages to list. |
| forward | Fetch messages forward from the current cursor (or the start, RetryConfiguration retryConfiguration = null, CancellationToken canceller = default). |
| cursor | A cursor for the current position in the messages history to list. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the channel message list object.
|
| |
| async Task< IApiFriendList > | ListFriendsAsync (ISession session, int? state, int limit, string cursor, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List of friends of the current user.- Parameters
-
| session | The session of the user. |
| state | Filter by friendship state. |
| limit | The number of friends to list. |
| cursor | A cursor for the current position in the friends list. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the friend objects.
|
| |
| async Task< IApiGroupUserList > | ListGroupUsersAsync (ISession session, string groupId, int? state, int limit, string cursor, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| async Task< IApiGroupList > | ListGroupsAsync (ISession session, string name=null, int limit=1, string cursor=null, string langTag=null, int? members=null, bool? open=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List groups on the server.- Parameters
-
| session | The session of the user. |
| name | The name filter to apply to the group list. |
| limit | The number of groups to list. |
| cursor | A cursor for the current position in the groups to list. |
| langTag | The language tag filter to apply to the group list. |
| members | The number of group members filter to apply to the group list. |
| open | The open/closed filter to apply to the group list. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task to resolve group objects.
|
| |
| async Task< IApiLeaderboardRecordList > | ListLeaderboardRecordsAsync (ISession session, string leaderboardId, IEnumerable< string > ownerIds=null, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| async Task< IApiLeaderboardRecordList > | ListLeaderboardRecordsAroundOwnerAsync (ISession session, string leaderboardId, string ownerId, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| async Task< IApiMatchList > | ListMatchesAsync (ISession session, int min, int max, int limit, bool authoritative, string label, string query, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Fetch a list of matches active on the server.- Parameters
-
| session | The session of the user. |
| min | The minimum number of match participants. |
| max | The maximum number of match participants. |
| limit | The number of matches to list. |
| authoritative | If authoritative matches should be included. |
| label | The label to filter the match list on. |
| query | A query for the matches to filter. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the match list object.
|
| |
| async Task< IApiNotificationList > | ListNotificationsAsync (ISession session, int limit=1, string cacheableCursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| Task< IApiStorageObjectList > | ListStorageObjects (ISession session, string collection, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| async Task< IApiStorageObjectList > | ListStorageObjectsAsync (ISession session, string collection, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List storage objects in a collection which have public read access.- Parameters
-
| session | The session of the user. |
| collection | The collection to list over. |
| limit | The number of objects to list. Maximum 100. |
| cursor | A cursor to paginate over the collection. May be null. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the storage object list.
|
| |
| async Task< IApiSubscriptionList > | ListSubscriptionsAsync (ISession session, int limit, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List the user's subscriptions.- Parameters
-
| session | The session of the user. |
| limit | The number of subscriptions to list. |
| cursor | An optional cursor for the next page of subscriptions. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the subscription list.
|
| |
| async Task< IApiTournamentRecordList > | ListTournamentRecordsAroundOwnerAsync (ISession session, string tournamentId, string ownerId, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| async Task< IApiTournamentRecordList > | ListTournamentRecordsAsync (ISession session, string tournamentId, IEnumerable< string > ownerIds=null, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| async Task< IApiTournamentList > | ListTournamentsAsync (ISession session, int categoryStart, int categoryEnd, int? startTime=null, int? endTime=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List current or upcoming tournaments.- Parameters
-
| session | The session of the user. |
| categoryStart | The start of the category of tournaments to include. |
| categoryEnd | The end of the category of tournaments to include. |
| startTime | The start time of the tournaments. (UNIX timestamp, RetryConfiguration retryConfiguration = null, CancellationToken canceller = default). If null, tournaments will not be filtered by start time. |
| endTime | The end time of the tournaments. (UNIX timestamp, RetryConfiguration retryConfiguration = null, CancellationToken canceller = default). If null, tournaments will not be filtered by end time. |
| limit | The number of tournaments to list. |
| cursor | An optional cursor for the next page of tournaments. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the list of tournament objects.
|
| |
| Task< IApiUserGroupList > | ListUserGroupsAsync (ISession session, int? state, int limit, string cursor, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List of groups the current user is a member of.- Parameters
-
| session | The session of the user. |
| state | Filter by group membership state. |
| limit | The number of records to list. |
| cursor | A cursor for the current position in the listing. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the group list object.
|
| |
| async Task< IApiUserGroupList > | ListUserGroupsAsync (ISession session, string userId, int? state, int limit, string cursor, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List groups a user is a member of.- Parameters
-
| session | The session of the user. |
| userId | The ID of the user whose groups to list. |
| state | Filter by group membership state. |
| limit | The number of records to list. |
| cursor | A cursor for the current position in the listing. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the group list object.
|
| |
| async Task< IApiStorageObjectList > | ListUsersStorageObjectsAsync (ISession session, string collection, string userId, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List storage objects in a collection which belong to a specific user and have public read access.- Parameters
-
| session | The session of the user. |
| collection | The collection to list over. |
| userId | The user ID of the user to list objects for. |
| limit | The number of objects to list. |
| cursor | A cursor to paginate over the collection. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the storage object list.
|
| |
| async Task | PromoteGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Promote one or more users in the group.- Parameters
-
| session | The session of the user. |
| groupId | The ID of the group to promote users into. |
| ids | The IDs of the users to promote. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task< IApiStorageObjects > | ReadStorageObjectsAsync (ISession session, IApiReadStorageObjectId[] ids=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Read one or more objects from the storage engine.- Parameters
-
| session | The session of the user. |
| ids | The objects to read. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the storage batch object.
|
| |
| async Task< IApiRpc > | RpcAsync (ISession session, string id, string payload, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function with an input payload on the server.- Parameters
-
| session | The session of the user. |
| id | The ID of the function to execute on the server. |
| payload | The payload to send with the function call. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the RPC response.
|
| |
| async Task< IApiRpc > | RpcAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function on the server.- Parameters
-
| session | The session of the user. |
| id | The ID of the function to execute on the server. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the RPC response.
|
| |
| Task< IApiRpc > | RpcAsync (string httpkey, string id, string payload, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function on the server without a session.This function is usually used with server side code. DO NOT USE client side.
|
| |
| Task< IApiRpc > | RpcAsync (string httpkey, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function on the server without a session.This function is usually used with server side code. DO NOT USE client side.
|
| |
| Task | SessionLogoutAsync (ISession session, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Log out a session which invalidates the authorization and refresh token.- Parameters
-
| session | The session to logout. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| Task | SessionLogoutAsync (string authToken, string refreshToken, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Log out a session which optionally invalidates the authorization and/or refresh tokens.- Parameters
-
| authToken | The authorization token to invalidate, may be null . |
| refreshToken | The refresh token to invalidate, may be null . |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task< ISession > | SessionRefreshAsync (ISession session, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Refresh the session unless the current refresh token has expired. If vars are specified they will replace what is currently stored inside the session token.- Parameters
-
| session | The session of the user. |
| vars | Extra information which should be bundled inside the session token. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a new session object.
|
| |
| override string | ToString () |
| |
| async Task | UnlinkAppleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Remove the Apple ID from the social profiles on the current user's account.- Parameters
-
| session | The session of the user. |
| token | The ID token received from Apple. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to a new session object.
|
| |
| async Task | UnlinkCustomAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a custom ID from the user account owned by the session.- Parameters
-
| session | The session of the user. |
| id | A custom identifier usually obtained from an external authentication service. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | UnlinkDeviceAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a device ID from the user account owned by the session.- Parameters
-
| session | The session of the user. |
| id | A device identifier usually obtained from a platform API. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | UnlinkEmailAsync (ISession session, string email, string password, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink an email with password from the user account owned by the session.- Parameters
-
| session | The session of the user. |
| email | The email address of the user. |
| password | The password for the user. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | UnlinkFacebookAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Facebook profile from the user account owned by the session.- Parameters
-
| session | The session of the user. |
| token | An OAuth access token from the Facebook SDK. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | UnlinkGameCenterAsync (ISession session, string bundleId, string playerId, string publicKeyUrl, string salt, string signature, string timestamp, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Game Center profile from the user account owned by the session.- Parameters
-
| session | The session of the user. |
| bundleId | The bundle ID of the Game Center application. |
| playerId | The player ID of the user in Game Center. |
| publicKeyUrl | The URL for the public encryption key. |
| salt | A random NSString used to compute the hash and keep it randomized. |
| signature | The verification signature data generated. |
| timestamp | The date and time that the signature was created. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | UnlinkGoogleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Google profile from the user account owned by the session.- Parameters
-
| session | The session of the user. |
| token | An OAuth access token from the Google SDK. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | UnlinkSteamAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Steam profile from the user account owned by the session.- Parameters
-
| session | The session of the user. |
| token | An authentication token from the Steam network. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which represents the asynchronous operation.
|
| |
| async Task | UpdateAccountAsync (ISession session, string username, string displayName=null, string avatarUrl=null, string langTag=null, string location=null, string timezone=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| async Task | UpdateGroupAsync (ISession session, string groupId, string name, bool open, string description=null, string avatarUrl=null, string langTag=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Update a group.The user must have the correct access permissions for the group.
|
| |
| async Task< IApiValidatePurchaseResponse > | ValidatePurchaseAppleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a purchase receipt against the Apple App Store.- Parameters
-
| session | The session of the user. |
| receipt | The purchase receipt to be validated. |
| persist | Whether or not to track the receipt in the Nakama database. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the validated list of purchase receipts.
|
| |
| async Task< IApiValidatePurchaseResponse > | ValidatePurchaseGoogleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a purchase receipt against the Google Play Store.- Parameters
-
| session | The session of the user. |
| receipt | The purchase receipt to be validated. |
| persist | Whether or not to track the receipt in the Nakama database. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the validated list of purchase receipts.
|
| |
| async Task< IApiValidatePurchaseResponse > | ValidatePurchaseHuaweiAsync (ISession session, string receipt, string signature, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a purchase receipt against the Huawei AppGallery.- Parameters
-
| session | The session of the user. |
| receipt | The purchase receipt to be validated. |
| signature | The signature of the purchase receipt. |
| persist | Whether or not to track the receipt in the Nakama database. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the validated list of purchase receipts.
|
| |
| async Task< IApiValidateSubscriptionResponse > | ValidateSubscriptionAppleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate an Apple subscription receipt.
|
| |
| async Task< IApiValidateSubscriptionResponse > | ValidateSubscriptionGoogleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a Google subscription receipt.
|
| |
| async Task< IApiLeaderboardRecord > | WriteLeaderboardRecordAsync (ISession session, string leaderboardId, long score, long subScore=0, string metadata=null, ApiOperator apiOperator=ApiOperator.NO_OVERRIDE, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Write a record to a leaderboard.- Parameters
-
| session | The session for the user. |
| leaderboardId | The ID of the leaderboard to write. |
| score | The score for the leaderboard record. |
| subScore | The sub score for the leaderboard record. |
| metadata | The metadata for the leaderboard record. |
| operator | The operator for the record that can be used to override the one set in the leaderboard. - Parameters
-
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the leaderboard record object written.
|
|
| |
| async Task< IApiStorageObjectAcks > | WriteStorageObjectsAsync (ISession session, IApiWriteStorageObject[] objects=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Write objects to the storage engine.- Parameters
-
| session | The session of the user. |
| objects | The objects to write. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the storage write acknowledgements.
|
| |
| async Task< IApiLeaderboardRecord > | WriteTournamentRecordAsync (ISession session, string tournamentId, long score, long subScore=0, string metadata=null, ApiOperator apiOperator=ApiOperator.NO_OVERRIDE, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Write a record to a tournament.- Parameters
-
| session | The session of the user. |
| tournamentId | The ID of the tournament to write. |
| score | The score of the tournament record. |
| subScore | The sub score for the tournament record. |
| metadata | The metadata for the tournament record. |
| operator | The operator for the record that can be used to override the one set in the tournament. - Parameters
-
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
- Returns
- A task which resolves to the tournament record object written.
|
|
| |
| Task | AddFriendsAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Add one or more friends by id or username.
|
| |
| Task | AddGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Add one or more users to the group.
|
| |
| Task< ISession > | AuthenticateAppleAsync (string token, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with an Apple ID against the server.
|
| |
| Task< ISession > | AuthenticateCustomAsync (string id, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a custom id.
|
| |
| Task< ISession > | AuthenticateDeviceAsync (string id, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a device id.
|
| |
| Task< ISession > | AuthenticateEmailAsync (string email, string password, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with an email and password.
|
| |
| Task< ISession > | AuthenticateFacebookAsync (string token, string username=null, bool create=true, bool import=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a Facebook auth token.
|
| |
| Task< ISession > | AuthenticateGameCenterAsync (string bundleId, string playerId, string publicKeyUrl, string salt, string signature, string timestamp, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with Apple Game Center.
|
| |
| Task< ISession > | AuthenticateGoogleAsync (string token, string username=null, bool create=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a Google auth token.
|
| |
| Task< ISession > | AuthenticateSteamAsync (string token, string username=null, bool create=true, bool import=true, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Authenticate a user with a Steam auth token.
|
| |
| Task | BanGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Ban a set of users from a group.
|
| |
| Task | BlockFriendsAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Block one or more friends by id or username.
|
| |
| Task< IApiGroup > | CreateGroupAsync (ISession session, string name, string description="", string avatarUrl=null, string langTag=null, bool open=true, int maxCount=100, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Create a group.
|
| |
| Task | DeleteAccountAsync (ISession session, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete the current user's account. Note that this will invalidate your session, requiring you to reauthenticate.
|
| |
| Task | DeleteFriendsAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete one more or users by id or username from friends.
|
| |
| Task | DeleteGroupAsync (ISession session, string groupId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete a group by id.
|
| |
| Task | DeleteLeaderboardRecordAsync (ISession session, string leaderboardId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete a leaderboard record.
|
| |
| Task | DeleteNotificationsAsync (ISession session, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete one or more notifications by id.
|
| |
| Task | DeleteStorageObjectsAsync (ISession session, StorageObjectId[] ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Delete one or more storage objects.
|
| |
| Task | DemoteGroupUsersAsync (ISession session, string groupId, IEnumerable< string > userIds, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Demote a set of users in a group to the next role down. - Parameters
-
| groupId | The group to demote users in. |
| userIds | The users to demote. |
| retryConfiguration | The retry configuration. See RetryConfiguration |
| canceller | The CancellationToken that can be used to cancel the request while mid-flight. |
|
| |
| Task | EventAsync (ISession session, string name, Dictionary< string, string > properties, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Submit an event for processing in the server's registered runtime custom events handler.
|
| |
| Task< IApiAccount > | GetAccountAsync (ISession session, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Fetch the user account owned by the session.
|
| |
| Task< IApiValidatedSubscription > | GetSubscriptionAsync (ISession session, string productId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Get the subscription represented by the provided product id.
|
| |
| Task< IApiUsers > | GetUsersAsync (ISession session, IEnumerable< string > ids, IEnumerable< string > usernames=null, IEnumerable< string > facebookIds=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Fetch one or more users by id, usernames, and Facebook ids.
|
| |
| Task | ImportFacebookFriendsAsync (ISession session, string token, bool? reset=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Import Facebook friends and add them to the user's account.
|
| |
| Task | ImportSteamFriendsAsync (ISession session, string token, bool? reset=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Import Steam friends and add them to the user's account.
|
| |
| Task | JoinGroupAsync (ISession session, string groupId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Join a group if it has open membership or request to join it.
|
| |
| Task | JoinTournamentAsync (ISession session, string tournamentId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Join a tournament by ID.
|
| |
| Task | KickGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Kick one or more users from the group.
|
| |
| Task | LeaveGroupAsync (ISession session, string groupId, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Leave a group by ID.
|
| |
| Task | LinkAppleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link an Apple ID to the social profiles on the current user's account.
|
| |
| Task | LinkCustomAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a custom ID to the user account owned by the session.
|
| |
| Task | LinkDeviceAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a device ID to the user account owned by the session.
|
| |
| Task | LinkEmailAsync (ISession session, string email, string password, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link an email with password to the user account owned by the session.
|
| |
| Task | LinkFacebookAsync (ISession session, string token, bool? import=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Facebook profile to a user account.
|
| |
| Task | LinkGameCenterAsync (ISession session, string bundleId, string playerId, string publicKeyUrl, string salt, string signature, string timestamp, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Game Center profile to a user account.
|
| |
| Task | LinkGoogleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Google profile to a user account.
|
| |
| Task | LinkSteamAsync (ISession session, string token, bool import, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Link a Steam profile to a user account.
|
| |
| Task< IApiChannelMessageList > | ListChannelMessagesAsync (ISession session, IChannel channel, int limit=1, bool forward=true, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List messages from a chat channel.
|
| |
| Task< IApiChannelMessageList > | ListChannelMessagesAsync (ISession session, string channelId, int limit=1, bool forward=true, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List messages from a chat channel.
|
| |
| Task< IApiFriendList > | ListFriendsAsync (ISession session, int? state=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List of friends of the current user.
|
| |
| Task< IApiGroupUserList > | ListGroupUsersAsync (ISession session, string groupId, int? state=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List all users part of the group.
|
| |
| Task< IApiGroupList > | ListGroupsAsync (ISession session, string name=null, int limit=1, string cursor=null, string langTag=null, int? members=null, bool? open=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List groups on the server.
|
| |
| Task< IApiLeaderboardRecordList > | ListLeaderboardRecordsAsync (ISession session, string leaderboardId, IEnumerable< string > ownerIds=null, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List records from a leaderboard.
|
| |
| Task< IApiLeaderboardRecordList > | ListLeaderboardRecordsAroundOwnerAsync (ISession session, string leaderboardId, string ownerId, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List leaderboard records that belong to a user.
|
| |
| Task< IApiMatchList > | ListMatchesAsync (ISession session, int min, int max, int limit, bool authoritative, string label, string query, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Fetch a list of matches active on the server.
|
| |
| Task< IApiNotificationList > | ListNotificationsAsync (ISession session, int limit=1, string cacheableCursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List notifications for the user with an optional cursor.
|
| |
| Task< IApiStorageObjectList > | ListStorageObjects (ISession session, string collection, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| |
| Task< IApiStorageObjectList > | ListStorageObjectsAsync (ISession session, string collection, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List storage objects in a collection which have public read access.
|
| |
| Task< IApiSubscriptionList > | ListSubscriptionsAsync (ISession session, int limit, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List the user's subscriptions.
|
| |
| Task< IApiTournamentRecordList > | ListTournamentRecordsAroundOwnerAsync (ISession session, string tournamentId, string ownerId, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List tournament records around the owner.
|
| |
| Task< IApiTournamentRecordList > | ListTournamentRecordsAsync (ISession session, string tournamentId, IEnumerable< string > ownerIds=null, long? expiry=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List records from a tournament.
|
| |
| Task< IApiTournamentList > | ListTournamentsAsync (ISession session, int categoryStart, int categoryEnd, int? startTime=null, int? endTime=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List current or upcoming tournaments.
|
| |
| Task< IApiUserGroupList > | ListUserGroupsAsync (ISession session, int? state=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List of groups the current user is a member of.
|
| |
| Task< IApiUserGroupList > | ListUserGroupsAsync (ISession session, string userId, int? state=null, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List groups a user is a member of.
|
| |
| Task< IApiStorageObjectList > | ListUsersStorageObjectsAsync (ISession session, string collection, string userId, int limit=1, string cursor=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | List storage objects in a collection which belong to a specific user and have public read access.
|
| |
| Task | PromoteGroupUsersAsync (ISession session, string groupId, IEnumerable< string > ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Promote one or more users in the group.
|
| |
| Task< IApiStorageObjects > | ReadStorageObjectsAsync (ISession session, IApiReadStorageObjectId[] ids, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Read one or more objects from the storage engine.
|
| |
| Task< IApiRpc > | RpcAsync (ISession session, string id, string payload, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function with an input payload on the server.
|
| |
| Task< IApiRpc > | RpcAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function on the server.
|
| |
| Task< IApiRpc > | RpcAsync (string httpKey, string id, string payload, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function on the server without a session.
|
| |
| Task< IApiRpc > | RpcAsync (string httpKey, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Execute a function on the server without a session.
|
| |
| Task | SessionLogoutAsync (ISession session, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Log out a session which invalidates the authorization and refresh token.
|
| |
| Task | SessionLogoutAsync (string authToken, string refreshToken, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Log out a session which optionally invalidates the authorization and/or refresh tokens.
|
| |
| Task< ISession > | SessionRefreshAsync (ISession session, Dictionary< string, string > vars=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Refresh the session unless the current refresh token has expired. If vars are specified they will replace what is currently stored inside the session token.
|
| |
| Task | UnlinkAppleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Remove the Apple ID from the social profiles on the current user's account.
|
| |
| Task | UnlinkCustomAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a custom ID from the user account owned by the session.
|
| |
| Task | UnlinkDeviceAsync (ISession session, string id, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a device ID from the user account owned by the session.
|
| |
| Task | UnlinkEmailAsync (ISession session, string email, string password, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink an email with password from the user account owned by the session.
|
| |
| Task | UnlinkFacebookAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Facebook profile from the user account owned by the session.
|
| |
| Task | UnlinkGameCenterAsync (ISession session, string bundleId, string playerId, string publicKeyUrl, string salt, string signature, string timestamp, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Game Center profile from the user account owned by the session.
|
| |
| Task | UnlinkGoogleAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Google profile from the user account owned by the session.
|
| |
| Task | UnlinkSteamAsync (ISession session, string token, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Unlink a Steam profile from the user account owned by the session.
|
| |
| Task | UpdateAccountAsync (ISession session, string username, string displayName=null, string avatarUrl=null, string langTag=null, string location=null, string timezone=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Update the current user's account on the server.
|
| |
| Task | UpdateGroupAsync (ISession session, string groupId, string name, bool open, string description=null, string avatarUrl=null, string langTag=null, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Update a group.
|
| |
| Task< IApiValidatePurchaseResponse > | ValidatePurchaseAppleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a purchase receipt against the Apple App Store.
|
| |
| Task< IApiValidatePurchaseResponse > | ValidatePurchaseGoogleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a purchase receipt against the Google Play Store.
|
| |
| Task< IApiValidatePurchaseResponse > | ValidatePurchaseHuaweiAsync (ISession session, string receipt, string signature, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a purchase receipt against the Huawei AppGallery.
|
| |
| Task< IApiValidateSubscriptionResponse > | ValidateSubscriptionAppleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate an Apple subscription receipt.
|
| |
| Task< IApiValidateSubscriptionResponse > | ValidateSubscriptionGoogleAsync (ISession session, string receipt, bool persist=true, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Validate a Google subscription receipt.
|
| |
| Task< IApiLeaderboardRecord > | WriteLeaderboardRecordAsync (ISession session, string leaderboardId, long score, long subScore=0L, string metadata=null, ApiOperator apiOperator=ApiOperator.NO_OVERRIDE, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Write a record to a leaderboard.
|
| |
| Task< IApiStorageObjectAcks > | WriteStorageObjectsAsync (ISession session, IApiWriteStorageObject[] objects, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Write objects to the storage engine.
|
| |
| Task< IApiLeaderboardRecord > | WriteTournamentRecordAsync (ISession session, string tournamentId, long score, long subScore=0L, string metadata=null, ApiOperator apiOperator=ApiOperator.NO_OVERRIDE, RetryConfiguration retryConfiguration=null, CancellationToken canceller=default) |
| | Write a record to a tournament.
|
| |


Cancer Networks and Variant Data
This protocol will demonstrate network retrieval from the STRING database, basic analysis, TCGA data loading and visualization in Cytoscape.
Setup
- Install the stringApp and Diffusion apps from the Cytoscape App Store, or install from Cytoscape via Apps → App Store → Open App Store
Getting Disease Networks
We are going to query the STRING database from Cytoscape to retrieve networks of genes associated with breast cancer.
- In the Network Search bar at the top of the Network Panel, select STRING disease query from the drop-down, and type in breast cancer.
- Click the options icon and set the Confidence (score) cutoff to 0.9 and the Maximum number of proteins to 150.
- Click the search icon to search.
Layout Network
We can apply a layout algorithm to help visualize the network. Cytoscape supports a large collection of automatic layout algorithms, available under the Layout menu. For this layout, we are going to change the default parameters a bit first:
- Open the Layout Settings by selecting Layout → Settings....
- Under Layout Algorithm, select Prefuse Force Directed.
- Set the Default Spring Coefficient to 8E-7 and the Default Spring Length to 70.
- Click Apply Layout.
The largest component of the network will look like this:
Generate Subnetworks
To explore the network, we can use various parameters of the network to generate relevant subnetworks. Let's start by creating a network from a subset of nodes with a high disease score:
- Click on the Filter tab of the Control Panel.
- Click on the drop-down to the right and select Create New Filter.
- Click the + (add) button and select Column Filter. In the Choose column... drop-down, select Node: disease score.
- In the selection slider, select scores of 3.3 or higher. This will select around 40 nodes.
- With the nodes still selected, go to File → New Network → From Selected Nodes, All Edges.
This will create a subnetwork with a connected component and some unconnected nodes. We can delete the extra nodes by selecting them with click-and-drag and clicking Delete.
Generate Subnetworks
Another strategy is to create a subnetwork from first neighbors of genes with the highest disease score, using the network connectivity together with the data to direct discovery.
- In the original String breast cancer network, reapply the disease score > 3.3 filter, unless the relevant nodes are still selected.
- With the nodes selected, go to Select → Nodes → Select First Neighbors of Selected Nodes → Undirected.
- With the nodes still selected, go to File → New Network → From Selected Nodes, All Edges.
Generate Subnetworks
The Diffusion app uses the network connectivity in a more subtle way than just first-degree neighbors. We can combine this with the top scoring genes:
- Again, select the original String breast cancer network. Click anywhere on the canvas to undo the current node selection.
- In the Filter tab, adjust the threshold for the disease score column filter to select nodes with a score of 4.2 and above. This will select a small number of top nodes.
- With the nodes selected, select Tools → Diffuse → Selected Nodes.
- The Diffusion results will open in the Results Panel. Click Create to create a subnetwork.
- Apply the Prefuse Force Directed layout.
Visualizing Data
From the TCGA, we have access to mutation data and expression data for breast cancer. We can visualize this data on the network, and also use it for analysis.
- Select the second subnetwork, representing nodes with disease score of 3.3 or higher and their first neighbors.
- Load the mutation data file file under File menu, select Import → Table from File.....
- For this data, the Key Column for Network should be set to display name to match the Hugo symbol used in the data.
- Repeat the import process for the expression data file, again mapping through the display name.
Visualizing Data
Let’s create a new style to visualize our imported data.
- In the Style tab in the Control Panel, click the Options icon and select Create New Style.... Name your new style data style.
- Change the default node shape to ellipse and check Lock node width and height.
- Set the default node Size to 60.
- Set the default node Fill Color to gray.
- Set the default edge Width to 2.
- Create a Passthrough Mapping for node Label to display name.
Visualizing Data
Now we can add a mapping for mean expression.
- Create a Continuous Mapping for node Fill Color to expr.mean, using the default blue-red gradient.
Visualizing Data
Finally, we can add a mapping for mutation data.
- Create a Continuous Mapping for node Border Width to mut_count, with node border width from 2 to 8.
- Create a Continuous Mapping for node Border Paint to mut_count, using the ColorBrewer Red palette.
This is a useful pair of visual properties to map to a single data column. See why?
Subnetwork Based on Diffusion from Heavily Mutated Nodes
We can now combine our earlier strategy for subnetwork selection with the mutation data, by using the Diffusion algorithm on the top mutated genes.
- The top two mutated genes in this network are TP53 and PIK3CA. Select these two nodes.
- With the nodes selected, select Tools → Diffuse → Selected Nodes.
- The Diffusion results will open in the Results Panel. Click Create to create a subnetwork.
- The subnetwork may open with the default visual style. In the Style tab, select the data style that we created earlier.
- Apply the Prefuse Force Directed layout.
Subnetwork Based on Diffusion from Heavily Mutated Nodes
The top mutated genes are based on TCGA data and the diffusion algorithm is operating based on the network connectivity from STRING data, leading to a focused subnetwork view of critical breast cancer genes with mean patient expression data mapped to fill color. Now that’s data integration!
Exporting Networks
Cytoscape provides a number of ways to save results and visualizations:
- As a session: File → Save Session, File → Save Session As...
- As an image: File → Export → Network to Image...
- To the web: File → Export → Network to Web Page... (Example)
- To a public repository: File → Export → Network to NDEx
- As a graph format file: File → Export → Network to File.
Formats:
- CX JSON / CX2 JSON
- Cytoscape.js JSON
- GraphML
- PSI-MI
- XGMML
- SIF


--- layout: default slug: contact permalink: contact group: navigation navorder: 6 ---
Tamara Freeman
<EMAIL_ADDRESS>Toronto, ON, Canada
Thank you for going through my site and getting to know me better! If you feel like you want to know more about me, or for any professional inquiries, please send me an email! I’d love to connect and hear from you!


The Plucky Explorer
Westminster Bridge
Taormina, Sicily
Liguria, Italia
Destinations
Africa
Australia
Asia
Europe
North America
South America
Info
About
Contact


| Security Missions 3,4 Alpha
|
|
- Replace the medium and large drones based upon the damage you will be doing:
- EM: Imperial Navy Infiltrator and Imperial Navy Praetor.
- Explosive: Republic Fleet Valkyrie and Republic Fleet Berserker.
- Kinetic: Caldari Navy Vespa and Caldari Navy Wasp.
- Thermal: Federation Navy Hammerhead and Federation Navy Ogre.
- Replace the shield resistance modules based upon the damage you will be receiving and leave the rest of them in your mission station.
- Upgrade your drone damage amplifiers and shield extenders to abyssal for additional stats and reduced zkill value. Mutated drones get attacked more often and therefore should be avoided.
- Use the Hobgoblin Is as disposable drones to destroy things that deal damage when exploding.
- Use the nosferatu if you need to escape while neuted, since your capacitor recharge rate is slow.
|


Our annual bike racing competition will be taking place on the 8th of May from 8am-5pm. The starting point will be at Mlolongo and the finish line will be at Karen. Registration is Ksh.1000. See you then!.
Last updated 3 months ago
If you are a fan of nature this is the perfect event for you. This event will be held at Oloolua nature trail on the 22nd of May from 9am-4pm. Entry fee is Ksh.200.
Last updated 3 months ago
For a fun and stress-free day join our cYcl community for the monthly cYcl group-riding day. This will be held on 19th June from 9am-3pm. The starting point will be at Bomas, Langata to Crave Kitchen, Kikuyu.
Last updated 2 weeks ago
Come with your family and enjoy a fun Saturday afternoon with other members of the cYcl community. It will take place on the 26th of June from 12noon. Venue TBA.
Last updated 6 days ago
Take part in a once in a life time opportunity! The 2021 BMX racing will take part on the 7th of August from 8am-late. The venue will be at Syokimau.MOre details to be announced later.
Last updated 22 hours ago
This is a fun activity which takes part in teams. If your team wants to take part contact us through our email address. Deadline is on 5th July. More information to be communicated.
Last updated 3 mins ago


|
BitShares-Core
6.1.0
BitShares blockchain implementation and command-line interface software
|
#include <delayed_node_plugin.hpp>
Public Member Functions | |
| delayed_node_plugin (graphene::app::application &app) | |
| ~delayed_node_plugin () override | |
| std::string | plugin_name () const override |
| Get the name of the plugin. More... | |
| void | plugin_set_program_options (boost::program_options::options_description &, boost::program_options::options_description &cfg) override |
| Fill in command line parameters used by the plugin. More... | |
| void | plugin_initialize (const boost::program_options::variables_map &options) override |
| Perform early startup routines and register plugin indexes, callbacks, etc. More... | |
| void | plugin_startup () override |
| Begin normal runtime operations. More... | |
| void | mainloop () |
| Public Member Functions inherited from graphene::app::plugin | |
| std::string | plugin_description () const override |
| Get the description of the plugin. More... | |
| void | plugin_shutdown () override |
| Cleanly shut down the plugin. More... | |
| chain::database & | database () |
| Public Member Functions inherited from graphene::app::abstract_plugin | |
| abstract_plugin (application &a) | |
| virtual | ~abstract_plugin ()=default |
| application & | app () const |
| Get a reference of the application bound to the plugin. More... | |
Protected Member Functions | |
| void | connection_failed () |
| void | connect () |
| void | sync_with_trusted_node () |
| Protected Member Functions inherited from graphene::app::plugin | |
| net::node_ptr | p2p_node () const |
Additional Inherited Members | |
| Protected Attributes inherited from graphene::app::abstract_plugin | |
| application & | _app |
Definition at line 31 of file delayed_node_plugin.hpp.
|
explicit |
Definition at line 49 of file delayed_node_plugin.cpp.
|
overridedefault |
|
protected |
Definition at line 66 of file delayed_node_plugin.cpp.
|
protected |
Definition at line 163 of file delayed_node_plugin.cpp.
| void graphene::delayed_node::delayed_node_plugin::mainloop | ( | ) |
Definition at line 132 of file delayed_node_plugin.cpp.
|
overridevirtual |
Perform early startup routines and register plugin indexes, callbacks, etc.
Plugins MUST supply a method initialize() which will be called early in the application startup. This method should contain early setup code such as initializing variables, adding indexes to the database, registering callback methods from the database, adding APIs, etc., as well as applying any options in the options
map
This method is called BEFORE the database is open, therefore any routines which require any chain state MUST NOT be called by this method. These routines should be performed in startup() instead.
| options | The options passed to the application, via configuration files or command line |
Reimplemented from graphene::app::plugin.
Definition at line 91 of file delayed_node_plugin.cpp.
|
inlineoverridevirtual |
Get the name of the plugin.
Reimplemented from graphene::app::plugin.
Definition at line 38 of file delayed_node_plugin.hpp.
|
overridevirtual |
Fill in command line parameters used by the plugin.
| command_line_options | All options this plugin supports taking on the command-line |
| config_file_options | All options this plugin supports storing in a configuration file |
This method populates its arguments with any command-line and configuration file options the plugin supports. If a plugin does not need these options, it may simply provide an empty implementation of this method.
Reimplemented from graphene::app::plugin.
Definition at line 57 of file delayed_node_plugin.cpp.
|
overridevirtual |
Begin normal runtime operations.
Plugins MUST supply a method startup() which will be called at the end of application startup. This method should contain code which schedules any tasks, or requires chain state.
Reimplemented from graphene::app::plugin.
Definition at line 153 of file delayed_node_plugin.cpp.
|
protected |
Definition at line 98 of file delayed_node_plugin.cpp.


Source code for amp_constraint_solver.builtin_constraints
""" Some built in constraints to be used in testing. """
from .constraint_solver import Constraint
from typing import cast as _cast, TypeVar, List, Dict, Set, Callable, Generator
__all__ = [
"no_duplicate_values_constraint",
"make_vars_not_equal_constraint",
"make_vars_not_diagonal_on_grid_constraint",
]
[docs]def no_duplicate_values_constraint(**variables) -> bool:
"""An :py:class:`amp_constraint_solver.constraint_solver.Constraint` that can be passed to :py:func:`amp_constraint_solver.constraint_solver.solve`.
Ensures that values are assigned to only one variable at a time.
:param variables: All variables in a candidate solution.
:returns: Whether all variables are destinct.
"""
for var1, value1 in variables.items():
for var2, value2 in variables.items():
if var1 != var2:
if value1 == value2:
return False
return True
[docs]def make_vars_not_equal_constraint(var1: str, var2: str) -> Constraint:
"""A function that creates a constraint that ensures two variables are different.
:param var1: A variable name.
:param var2: Another variable name.
:returns: An :py:class:`amp_constraint_solver.constraint_solver.Constraint` that can be passed to :py:func:`amp_constraint_solver.constraint_solver.solve`.
"""
def not_equal(**variables) -> bool:
f"Ensuring {var1} and {var2} are not equal."
if all([key in variables for key in (var1, var2)]):
if variables[var1] == variables[var2]:
return False
return True
return not_equal
[docs]def make_vars_not_diagonal_on_grid_constraint(
x1: str, y1: str, x2: str, y2: str
) -> Constraint:
"""A function that creates a constraint ensures that (x1, y1) is not diagonal with (x2, y2) on a positive grid.
:param x1: The variable name of the X coord of the first point.
:param y1: The variable name of the Y coord of the first point.
:param x2: The variable name of the X coord of the second point.
:param y2: The variable name of the Y coord of the second point.
:returns: An :py:class:`amp_constraint_solver.constraint_solver.Constraint` that can be passed to :py:func:`amp_constraint_solver.constraint_solver.solve`.
"""
def not_diagonal(**variables) -> bool:
f"Ensure ({x1}, {y1}) is not diagonal with ({x2}, {y2})"
variables = _cast(Dict[str, int], variables)
# diagonal on a grid is when abs(x1-x2) == abs(y1-y2)
if all([key in variables for key in (x1, y1, x2, y2)]):
diff1 = abs(variables[x1] - variables[x2])
diff2 = abs(variables[y1] - variables[y2])
return diff1 != diff2
else:
return True
return not_diagonal


Dear %guest name%,
For you is %acco type description% %acco description% in %acco location% temporary reserved from %arrival% till %departure%.
You transfer %pay amount scheduled guest 1% to bank %owner bank% and bank account %owner bank account%.
As soon as I've received this payment, the booking is final and I send you the booking confirmation.
Kind regards,
%owner name%
%own website%


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat quod voluptate consequuntur ad quasi, dolores obcaecati ex aliquid, dolor provident
Marley tried to convince her but she was not interested.


time remaining: 4m 20s
1. choose ur resturant
maccys
marlowe's
nandos
wagas
kfc
2. upload ur order
upload image
3. add ur name
19.08:
penisman ordered from kfc


Primary data
Data which is the direct result of the project
| Name | Acquisition | By | Map View | Get Data |
|---|---|---|---|---|
| Find Spot | Fieldwork | Stefan & Ruben | 2D | 3D | Demo | API | Demo API |
Secondary data
Data which is obtained by third parties and used in the project
| Name | Map View | |||
|---|---|---|---|---|
| Geological Map | 2D | 3D | Demo | |||
| Historical Aerial Photographs | 2D | 3D | Demo | |||
| Historical Maps | 2D | 3D | Demo |


Apply today and get a U.S. address to forward your packages. We get the the items you buy online and ship them to you overnight.
Shop at your favorite e-tailer. When you check-out, use the address we provide (US).
We handle shipping and logistics. Enjoy your caffè latte, while we get your purchases to you overnight.
We welcome your feeback to constantly enhance our service.


mqtt
UI
{{ username }}
change password
logout
Users
{{users|length}}
New user
Id
Name
Action
{% for user in users %}
{{loop.index}}
{{user}}
Edit
Del
{% endfor %}
Change user password
×
Please enter the new password for
user
Create new user
×
Please enter username and password
Confirm delete user
×
Are you sure you want to delete
user?


Getting functional with Reactive systems
Russ Cam @forloop
The Acorn Electron
a.k.a. The Actor model
...is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation: in response to a message that it receives, an actor can make local decisions, create more actors, send more messages, and determine how to respond to the next message received.
First proposed in 1973!
type EchoActor() =
inherit UntypedActor()
override this.OnReceive (msg:obj) =
printfn "Received message %A" msg
let system = System.create "system" <| Configuration.defaultConfig()
// Use Props() to create actor from type definition
let echoActor = system.ActorOf(Props(typedefof<EchoActor>), "echo")
// tell a message
echoActor <! "Hello World!"
How very C# like!
Receives next message from mailbox
let echo (msg:obj) =
printfn "Received message %A" msg
let system = System.create "system" <| Configuration.defaultConfig()
// use spawn in conjunction with actorOf.
// Wraps provided function to give actor behaviour
let echoActor = spawn system "echo" (actorOf echo)
// tell a message
echoActor <! "Hello World!"
Receives "self" actor and next message from mailbox
let echo (mailbox:Actor<'a>) msg =
printfn "Received message %A" msg
let system = System.create "system" <| Configuration.defaultConfig()
// use spawn in conjunction with actorOf2.
// Wraps provided function to give actor behaviour
let echoActor = spawn system "echo" (actorOf2 echo)
// tell a message
echoActor <! "Hello World!"
Receives "self" actor and returns a Continuation
let echo (mailbox:Actor<'a>) =
let rec loop () = actor {
let! msg = mailbox.Receive ()
printfn "Received message %A" msg
return! loop ()
}
loop ()
let system = System.create "system" <| Configuration.defaultConfig()
// use spawn in conjunction with actor computation expression
let echoActor = spawn system "echo" echo
// tell a message
echoActor <! "Hello World!"
// ActorRef
let echoActorRef = spawn system "echo"
(actorOf (fun m -> printfn "received %A" m))
// tell a message to actor ref
echoActorRef <! "Hello World!"
// ActorSelection, using wildcard actor path
let echoActorSelection = select "/user/echo*" system
// tell a message to actor selection
echoActorSelection <! "Hello World!"
One way, Fire & Forget
actor <! message
Request / Response
async {
let! response = actor <? message
// do something with response
} |> Async.RunSynchronously
actorToForwardTo.Forward message
async {
// some async workflow
} |!> myActor
or
myActor <!| async {
// some async workflow
}
type CustomException() =
inherit Exception()
type Message =
| Echo of string
| Crash
let system = System.create "system" <| Configuration.defaultConfig()
let child (childMailbox:Actor<Message>) =
let rec childLoop() = actor {
let! msg = childMailbox.Receive()
match msg with
| Echo info ->
let response =
sprintf "Child %s received: %s"
(childMailbox.Self.Path.ToStringWithAddress()) info
childMailbox.Sender() <! response
| Crash ->
printfn "Child %A received crash order"
(childMailbox.Self.Path)
raise (CustomException())
return! childLoop()
}
childLoop()
let parent (parentMailbox:Actor<Message>) =
// parent actor spawns child - is the supervisor of the child
let child = spawn parentMailbox "child" child
let rec parentLoop() = actor {
let! (msg: Message) = parentMailbox.Receive()
child.Forward msg
return! parentLoop()
}
parentLoop()
// spawn with options to define a Supervisor Strategy
let parentChild =
spawnOpt system "parent" parent <|
[ SpawnOption.SupervisorStrategy (
Strategy.OneForOne(fun e ->
match e with
| :? CustomException -> Directive.Restart
| _ -> SupervisorStrategy.DefaultDecider(e))); ]
a.k.a. Deathwatch
monitor (targetActor:IActorRef, watcher:ICanWatch)
and
demonitor (targetActor:IActorRef, watcher:ICanWatch)
let config = Configuration.parse """
akka {
actor {
provider =
"Akka.Remote.RemoteActorRefProvider, Akka.Remote"
deployment {
/my-actor {
remote = "akka.tcp://system2@localhost:8080"
}
}
}
remote {
helios.tcp {
transport-class =
"Akka.Remote.Transport.Helios.HeliosTcpTransport, Akka.Remote"
applied-adapters = []
transport-protocol = tcp
port = 8090
hostname = localhost
}
}
}"""
let system = System.create "system" <| config
let myActor = system.ActorOf<SomeActor>("my-actor")
let system = System.create "system" <| Configuration.defaultConfig()
let myActor = spawne system "my-actor"
<| (<@ fun mailbox ->
printfn "Actor pre start"
mailbox.Defer (fun () -> printfn "Actor post stop")
let rec loop () =
actor {
let! msg = mailbox.Receive ()
// msg handling here
return! loop ()
}
loop () @>)
[SpawnOption.Deploy(
Deploy(RemoteScope (Address.Parse "akka.tcp://system2@localhost:8080")))]
let actor = spawn system "MyActor" <|
fun mailbox ->
let rec loop1() = actor {
let! message = mailbox.Receive()
// do something with message
return! loop2()
}
and loop2() = actor {
let! message = mailbox.Receive()
return! loop3()
}
and loop3() = actor {
let! message = mailbox.Receive()
return! loop1()
}
loop1()
Dispatchers
Mailboxes
Event stream/bus
Scheduler
Clustering
Testing
Persistence/Snapshots
#nowarn "40"
let printerAgent = MailboxProcessor.Start(fun inbox->
// the message processing function
let rec messageLoop = async {
// read a message
let! msg = inbox.Receive()
// process a message
printfn "message is: %s" msg
// loop to top
return! messageLoop
}
// start the loop
messageLoop
)


25 year old coach commits suicide at Sefwi- Essam
by Alex Baah Boadi /Isaac Kwaku Gyedu GNASefwi - Essam (W/N),Nov 20, GNA - A 25 year old team coach for winners FC Junior team, has committed suicide by hanging at Sefwi -Essam in the Bia West District of the Western North Region.
Isaac Mensah also known as Kalanga hanged himself with a nylon rope on a tree.
ASP Charles Azalekor, Debeiso District Police Commander, who confirmed the incident to the Ghana News Agency said family members of the deceased reported on Monday that their relative was missing.
According to him before the police could commenced investigations into the matter, they had information around 07:25 hours on Tuesday that someone had hanged himself at Sefwi- Essam.
He said the District Police Command therefore dispatched men to the scene and only for them to identify the deceased as the man earlier reported as missing.
ASP Azaleko said the body has since been deposited at the Debeiso hospital mortuary for autopsy and that the police would continue with their investigations.
GNA


The Bean Introspection Utilities component of the Jakarta Commons subproject offers low-level utility classes that assist in getting and setting property values on Java classes that follow the naming design patterns outlined in the JavaBeans Specification, as well as mechanisms for dynamically defining and accessing bean properties.
See the
Package Description for the org.apache.commons.beanutils
package for more information.