OpenSimulator Internals/PresenceService
Appearance
OpenSimulator Internals/PresenceService
[edit]Overview
[edit]PresenceService tracks who is online, which region they are in, and their current session. Maintains a cache. Must stay in the same process instance -- multiple instances would give conflicting answers.
Used for IM routing amongst other things.
API
[edit]RPC interface. Operations controlled via METHOD parameter.
getagents
[edit]Query presence for one or more users.
| Field | Type | Notes |
|---|---|---|
| METHOD | string | "getagents" |
| uuids[] | UUID | UUIDs of users to query. One param per user for multiple users. |
If no online users are found, an empty result is returned.
Database
[edit]See Presence table for the full database schema.