OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Tests.Common.MockGroupsServicesConnector Class Reference
Inheritance diagram for OpenSim.Tests.Common.MockGroupsServicesConnector:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Tests.Common.MockGroupsServicesConnector:
Collaboration graph
[legend]

Public Member Functions

void Initialise (IConfigSource config)
 This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More...
 
void Close ()
 This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More...
 
void AddRegion (Scene scene)
 This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More...
 
void RemoveRegion (Scene scene)
 This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More...
 
void RegionLoaded (Scene scene)
 This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module. More...
 
void PostInitialise ()
 This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised. More...
 
UUID CreateGroup (UUID requestingAgentID, string name, string charter, bool showInList, UUID insigniaID, int membershipFee, bool openEnrollment, bool allowPublish, bool maturePublish, UUID founderID)
 
void UpdateGroup (UUID requestingAgentID, UUID groupID, string charter, bool showInList, UUID insigniaID, int membershipFee, bool openEnrollment, bool allowPublish, bool maturePublish)
 
void AddGroupRole (UUID requestingAgentID, UUID groupID, UUID roleID, string name, string description, string title, ulong powers)
 
void RemoveGroupRole (UUID requestingAgentID, UUID groupID, UUID roleID)
 
void UpdateGroupRole (UUID requestingAgentID, UUID groupID, UUID roleID, string name, string description, string title, ulong powers)
 
GroupRecord GetGroupRecord (UUID requestingAgentID, UUID groupID, string groupName)
 Get the group record. More...
 
GroupProfileData GetMemberGroupProfile (UUID requestingAgentID, UUID GroupID, UUID AgentID)
 
void SetAgentActiveGroup (UUID requestingAgentID, UUID AgentID, UUID GroupID)
 
void SetAgentActiveGroupRole (UUID requestingAgentID, UUID AgentID, UUID GroupID, UUID RoleID)
 
void SetAgentGroupInfo (UUID requestingAgentID, UUID agentID, UUID groupID, bool acceptNotices, bool listInProfile)
 
void AddAgentToGroupInvite (UUID requestingAgentID, UUID inviteID, UUID groupID, UUID roleID, UUID agentID)
 
GroupInviteInfo GetAgentToGroupInvite (UUID requestingAgentID, UUID inviteID)
 
void RemoveAgentToGroupInvite (UUID requestingAgentID, UUID inviteID)
 
void AddAgentToGroup (UUID requestingAgentID, UUID agentID, UUID groupID, UUID roleID)
 
void RemoveAgentFromGroup (UUID requestingAgentID, UUID AgentID, UUID GroupID)
 
void AddAgentToGroupRole (UUID requestingAgentID, UUID AgentID, UUID GroupID, UUID RoleID)
 
void RemoveAgentFromGroupRole (UUID requestingAgentID, UUID AgentID, UUID GroupID, UUID RoleID)
 
List< DirGroupsReplyDataFindGroups (UUID requestingAgentID, string search)
 
GroupMembershipData GetAgentGroupMembership (UUID requestingAgentID, UUID AgentID, UUID GroupID)
 Get information about a specific group to which the user belongs. More...
 
GroupMembershipData GetAgentActiveMembership (UUID requestingAgentID, UUID AgentID)
 
List< GroupMembershipDataGetAgentGroupMemberships (UUID requestingAgentID, UUID AgentID)
 Get information about the groups to which a user belongs. More...
 
List< GroupRolesDataGetAgentGroupRoles (UUID requestingAgentID, UUID AgentID, UUID GroupID)
 
List< GroupRolesDataGetGroupRoles (UUID requestingAgentID, UUID GroupID)
 
List< GroupMembersDataGetGroupMembers (UUID requestingAgentID, UUID groupID)
 
List< GroupRoleMembersDataGetGroupRoleMembers (UUID requestingAgentID, UUID GroupID)
 
List< GroupNoticeDataGetGroupNotices (UUID requestingAgentID, UUID groupID)
 
GroupNoticeInfo GetGroupNotice (UUID requestingAgentID, UUID noticeID)
 
void AddGroupNotice (UUID requestingAgentID, UUID groupID, UUID noticeID, string fromName, string subject, string message, byte[] binaryBucket)
 
void ResetAgentGroupChatSessions (UUID agentID)
 
bool hasAgentBeenInvitedToGroupChatSession (UUID agentID, UUID groupID)
 
bool hasAgentDroppedGroupChatSession (UUID agentID, UUID groupID)
 
void AgentDroppedFromGroupChatSession (UUID agentID, UUID groupID)
 
void AgentInvitedToGroupChatSession (UUID agentID, UUID groupID)
 

Properties

string Name [get]
 
Type ReplaceableInterface [get]
 
- Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase
string Name [get]
 
Type ReplaceableInterface [get]
 If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More...
 

Detailed Description

Definition at line 46 of file MockGroupsServicesConnector.cs.

Member Function Documentation

void OpenSim.Tests.Common.MockGroupsServicesConnector.AddAgentToGroup ( UUID  requestingAgentID,
UUID  agentID,
UUID  groupID,
UUID  roleID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.AddAgentToGroupInvite ( UUID  requestingAgentID,
UUID  inviteID,
UUID  groupID,
UUID  roleID,
UUID  agentID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.AddAgentToGroupRole ( UUID  requestingAgentID,
UUID  AgentID,
UUID  GroupID,
UUID  RoleID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.AddGroupNotice ( UUID  requestingAgentID,
UUID  groupID,
UUID  noticeID,
string  fromName,
string  subject,
string  message,
byte[]  binaryBucket 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.AddGroupRole ( UUID  requestingAgentID,
UUID  groupID,
UUID  roleID,
string  name,
string  description,
string  title,
ulong  powers 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.AddRegion ( Scene  scene)
inline

This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 70 of file MockGroupsServicesConnector.cs.

void OpenSim.Tests.Common.MockGroupsServicesConnector.AgentDroppedFromGroupChatSession ( UUID  agentID,
UUID  groupID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.AgentInvitedToGroupChatSession ( UUID  agentID,
UUID  groupID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.Close ( )
inline

This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 66 of file MockGroupsServicesConnector.cs.

UUID OpenSim.Tests.Common.MockGroupsServicesConnector.CreateGroup ( UUID  requestingAgentID,
string  name,
string  charter,
bool  showInList,
UUID  insigniaID,
int  membershipFee,
bool  openEnrollment,
bool  allowPublish,
bool  maturePublish,
UUID  founderID 
)
inline
List<DirGroupsReplyData> OpenSim.Tests.Common.MockGroupsServicesConnector.FindGroups ( UUID  requestingAgentID,
string  search 
)
inline
GroupMembershipData OpenSim.Tests.Common.MockGroupsServicesConnector.GetAgentActiveMembership ( UUID  requestingAgentID,
UUID  AgentID 
)
inline
GroupMembershipData OpenSim.Tests.Common.MockGroupsServicesConnector.GetAgentGroupMembership ( UUID  RequestingAgentID,
UUID  AgentID,
UUID  GroupID 
)
inline

Get information about a specific group to which the user belongs.

Parameters
RequestingAgentIDThe agent requesting the information.
AgentIDThe agent requested.
GroupIDThe group requested.
Returns
If the user is a member of the group then the data structure is returned. If not, then null is returned.

Implements OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.IGroupsServicesConnector.

Definition at line 268 of file MockGroupsServicesConnector.cs.

List<GroupMembershipData> OpenSim.Tests.Common.MockGroupsServicesConnector.GetAgentGroupMemberships ( UUID  RequestingAgentID,
UUID  AgentID 
)
inline

Get information about the groups to which a user belongs.

Parameters
RequestingAgentIDThe agent requesting the information.
AgentIDThe agent requested.
Returns
Information about the groups to which the user belongs. If the user belongs to no groups then an empty list is returned.

Implements OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.IGroupsServicesConnector.

Definition at line 278 of file MockGroupsServicesConnector.cs.

List<GroupRolesData> OpenSim.Tests.Common.MockGroupsServicesConnector.GetAgentGroupRoles ( UUID  requestingAgentID,
UUID  AgentID,
UUID  GroupID 
)
inline
GroupInviteInfo OpenSim.Tests.Common.MockGroupsServicesConnector.GetAgentToGroupInvite ( UUID  requestingAgentID,
UUID  inviteID 
)
inline
List<GroupMembersData> OpenSim.Tests.Common.MockGroupsServicesConnector.GetGroupMembers ( UUID  requestingAgentID,
UUID  groupID 
)
inline
GroupNoticeInfo OpenSim.Tests.Common.MockGroupsServicesConnector.GetGroupNotice ( UUID  requestingAgentID,
UUID  noticeID 
)
inline
List<GroupNoticeData> OpenSim.Tests.Common.MockGroupsServicesConnector.GetGroupNotices ( UUID  requestingAgentID,
UUID  groupID 
)
inline
GroupRecord OpenSim.Tests.Common.MockGroupsServicesConnector.GetGroupRecord ( UUID  RequestingAgentID,
UUID  GroupID,
string  GroupName 
)
inline

Get the group record.

Returns
Parameters
RequestingAgentIDThe UUID of the user making the request.
GroupIDThe ID of the record to retrieve. GroupName may be specified instead, in which case this parameter will be UUID.Zero
GroupNameThe name of the group to retrieve. GroupID may be specified instead, in which case this parmeter will be null.

Implements OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.IGroupsServicesConnector.

Definition at line 152 of file MockGroupsServicesConnector.cs.

List<GroupRoleMembersData> OpenSim.Tests.Common.MockGroupsServicesConnector.GetGroupRoleMembers ( UUID  requestingAgentID,
UUID  GroupID 
)
inline
List<GroupRolesData> OpenSim.Tests.Common.MockGroupsServicesConnector.GetGroupRoles ( UUID  requestingAgentID,
UUID  GroupID 
)
inline
GroupProfileData OpenSim.Tests.Common.MockGroupsServicesConnector.GetMemberGroupProfile ( UUID  requestingAgentID,
UUID  GroupID,
UUID  AgentID 
)
inline

Definition at line 181 of file MockGroupsServicesConnector.cs.

bool OpenSim.Tests.Common.MockGroupsServicesConnector.hasAgentBeenInvitedToGroupChatSession ( UUID  agentID,
UUID  groupID 
)
inline
bool OpenSim.Tests.Common.MockGroupsServicesConnector.hasAgentDroppedGroupChatSession ( UUID  agentID,
UUID  groupID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.Initialise ( IConfigSource  source)
inline

This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.

Parameters
sourceA IConfigSource

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 62 of file MockGroupsServicesConnector.cs.

void OpenSim.Tests.Common.MockGroupsServicesConnector.PostInitialise ( )
inline

This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised.

Implements OpenSim.Region.Framework.Interfaces.ISharedRegionModule.

Definition at line 84 of file MockGroupsServicesConnector.cs.

void OpenSim.Tests.Common.MockGroupsServicesConnector.RegionLoaded ( Scene  scene)
inline

This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 80 of file MockGroupsServicesConnector.cs.

void OpenSim.Tests.Common.MockGroupsServicesConnector.RemoveAgentFromGroup ( UUID  requestingAgentID,
UUID  AgentID,
UUID  GroupID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.RemoveAgentFromGroupRole ( UUID  requestingAgentID,
UUID  AgentID,
UUID  GroupID,
UUID  RoleID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.RemoveAgentToGroupInvite ( UUID  requestingAgentID,
UUID  inviteID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.RemoveGroupRole ( UUID  requestingAgentID,
UUID  groupID,
UUID  roleID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.RemoveRegion ( Scene  scene)
inline

This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 76 of file MockGroupsServicesConnector.cs.

void OpenSim.Tests.Common.MockGroupsServicesConnector.ResetAgentGroupChatSessions ( UUID  agentID)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.SetAgentActiveGroup ( UUID  requestingAgentID,
UUID  AgentID,
UUID  GroupID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.SetAgentActiveGroupRole ( UUID  requestingAgentID,
UUID  AgentID,
UUID  GroupID,
UUID  RoleID 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.SetAgentGroupInfo ( UUID  requestingAgentID,
UUID  agentID,
UUID  groupID,
bool  acceptNotices,
bool  listInProfile 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.UpdateGroup ( UUID  requestingAgentID,
UUID  groupID,
string  charter,
bool  showInList,
UUID  insigniaID,
int  membershipFee,
bool  openEnrollment,
bool  allowPublish,
bool  maturePublish 
)
inline
void OpenSim.Tests.Common.MockGroupsServicesConnector.UpdateGroupRole ( UUID  requestingAgentID,
UUID  groupID,
UUID  roleID,
string  name,
string  description,
string  title,
ulong  powers 
)
inline

Property Documentation

string OpenSim.Tests.Common.MockGroupsServicesConnector.Name
get

Definition at line 53 of file MockGroupsServicesConnector.cs.

Type OpenSim.Tests.Common.MockGroupsServicesConnector.ReplaceableInterface
get

Definition at line 58 of file MockGroupsServicesConnector.cs.


The documentation for this class was generated from the following file: