diff options
author | Melanie Thielker | 2009-02-20 12:15:40 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-02-20 12:15:40 +0000 |
commit | 7b1c42836d58bd0b2f03ad45575520d8ecf8119d (patch) | |
tree | b5ec9c6f8667cdd5948f6970d30ce2c2b347e4ca /OpenSim/Region/Framework | |
parent | Thanks DoranZemlja for a patch implementing non-shortcircuiting in (diff) | |
download | opensim-SC_OLD-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.zip opensim-SC_OLD-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.gz opensim-SC_OLD-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.bz2 opensim-SC_OLD-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.xz |
Committing interface and stubs for IM interception
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | 7 |
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 | ||
28 | using System; | ||
28 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
29 | 30 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace 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 | } |