1
//-----------------------------------------------------------------------
2 // <copyright file="IMessageWithEvents.cs" company="Andrew Arnott">
3 // Copyright (c) Andrew Arnott. All rights reserved.
5 //-----------------------------------------------------------------------
7 namespace DotNetOpenAuth
.Messaging
{
9 /// An interface that messages wishing to perform custom serialization/deserialization
10 /// may implement to be notified of <see cref="Channel"/> events.
12 internal interface IMessageWithEvents
: IMessage
{
14 /// Called when the message is about to be transmitted,
15 /// before it passes through the channel binding elements.
20 /// Called when the message has been received,
21 /// after it passes through the channel binding elements.