aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-22 22:56:00 +0000
committerMelanie Thielker2008-11-22 22:56:00 +0000
commit2fa072b579d6c8d1e37c9c72dc223814bfa41e9d (patch)
tree0da738e0e41d06cee08e9301863c99e7b98959e0 /OpenSim/Region/Environment/Modules/Avatar
parentIncrease IRC login timeout to 25 - it was 10 which was causing reconnect loop... (diff)
downloadopensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.zip
opensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.tar.gz
opensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.tar.bz2
opensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.tar.xz
Next step in the presence module - some core plumbing included at
no extra cost
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs
index 439b082..48c7717 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs
@@ -75,7 +75,12 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
75 75
76 if (m_Gridmode) 76 if (m_Gridmode)
77 NotifyMessageServerOfStartup(scene); 77 NotifyMessageServerOfStartup(scene);
78
78 scene.RegisterModuleInterface<IPresenceModule>(this); 79 scene.RegisterModuleInterface<IPresenceModule>(this);
80
81 scene.EventManager.OnNewClient += OnNewClient;
82 scene.EventManager.OnSetRootAgentScene += OnSetRootAgentScene;
83
79 m_Scenes.Add(scene); 84 m_Scenes.Add(scene);
80 } 85 }
81 } 86 }
@@ -107,6 +112,19 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
107 { 112 {
108 } 113 }
109 114
115 public void OnNewClient(IClientAPI client)
116 {
117 client.OnConnectionClosed += OnConnectionClosed;
118 }
119
120 public void OnConnectionClosed(IClientAPI client)
121 {
122 }
123
124 public void OnSetRootAgentScene(UUID agentID)
125 {
126 }
127
110 private void NotifyMessageServerOfStartup(Scene scene) 128 private void NotifyMessageServerOfStartup(Scene scene)
111 { 129 {
112 Hashtable xmlrpcdata = new Hashtable(); 130 Hashtable xmlrpcdata = new Hashtable();