aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2009-02-20 12:15:40 +0000
committerMelanie Thielker2009-02-20 12:15:40 +0000
commit7b1c42836d58bd0b2f03ad45575520d8ecf8119d (patch)
treeb5ec9c6f8667cdd5948f6970d30ce2c2b347e4ca /OpenSim/Region/Framework
parentThanks DoranZemlja for a patch implementing non-shortcircuiting in (diff)
downloadopensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.zip
opensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.gz
opensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.bz2
opensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.xz
Committing interface and stubs for IM interception
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs
index 40c224d..51ac37c 100644
--- a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs
@@ -25,14 +25,19 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
28using OpenSim.Framework; 29using OpenSim.Framework;
29 30
30namespace OpenSim.Region.Framework.Interfaces 31namespace OpenSim.Region.Framework.Interfaces
31{ 32{
32 public delegate void MessageResultNotification(bool success); 33 public delegate void MessageResultNotification(bool success);
33 34 public delegate bool MessageFilterDelegate(GridInstantMessage im);
35
34 public interface IMessageTransferModule 36 public interface IMessageTransferModule
35 { 37 {
36 void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); 38 void SendInstantMessage(GridInstantMessage im, MessageResultNotification result);
39
40 void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn);
41 void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn);
37 } 42 }
38} 43}