//----------------------------------------------------------------------- // // Copyright (c) Outercurve Foundation. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.Messaging { /// /// An interface that messages wishing to perform custom serialization/deserialization /// may implement to be notified of events. /// internal interface IMessageWithEvents : IMessage { /// /// Called when the message is about to be transmitted, /// before it passes through the channel binding elements. /// void OnSending(); /// /// Called when the message has been received, /// after it passes through the channel binding elements. /// void OnReceiving(); } }