Hypergrid Friends

From OpenSimulator

Revision as of 16:34, 7 January 2015 by Justincc (Talk | contribs)

Jump to: navigation, search

Sorry, page under constructions. At the moment just some notes on how friends work over the Hypergrid -- Justincc (talk) 23:46, 7 January 2015 (UTC)

Contents

Class Summary

OpenSim.Region.CoreModules.Avatar

Class Name Interfaces Description
Friends.HGFriendsModule IFriendsModule, IFriendsSimConnector, ISharedRegionModule Extends and replaces FriendsModule. Accessed via Scene.RequestModuleInterface<IFriendsModule>() and Scene.RequestModuleInterface<IFriendsSimConnector>(). Performs HG specific friend functions such as forwarding friendship requests and caching.
Friends.HGStatusNotifier None Helps manage HG friend status notifications.

OpenSim.Services.HypergridService

Class Name Interfaces Description
HGFriendsService IHGFriendsService Provides the friends service accessed by foreign grids.

Flows

Offering a friendship when on a foreign grid to an avatar local to that grid

Incomplete

  1. On making a friend request, the requester's client sends a FriendshipOffered IM to the current foreign simulator.
  2. The foreign simulator forwards this request to the friendee. If the friendee is elsewhere on the grid, then the message is forwarded to the simulator they are on.
  3. The friendee sees the request. If they are offline and IMs are being stored, they will see this when they next log back on.
  4. If the friendee accepts, then their client sends a AcceptFriendship UDP message to their current simulator.
  5. The foreign simulator stores the friendship information in its grid.
  6. The friendship information is forwarded on to the friendees HGFriendsService with the newfriendship message.
  7. ---
  8. Returning to home grid, the "Please confirm this friendship you made while you were away." message originates from HGFriendsModule.FriendshipMessages().
Personal tools
General
About This Wiki