-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathMessageEventArgs.cs
51 lines (47 loc) · 1.61 KB
/
MessageEventArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/************************************************************************
* Copyright (C) 2008 Jamaa Technologies
*
* This file is part of Jamaa SMPP Client Library.
*
* Jamaa SMPP Client Library is free software. You can redistribute it and/or modify
* it under the terms of the Microsoft Reciprocal License (Ms-RL)
*
* You should have received a copy of the Microsoft Reciprocal License
* along with Jamaa SMPP Client Library; See License.txt for more details.
*
* Author: Benedict J. Tesha
* [email protected], www.jamaatech.com
*
************************************************************************/
using System;
namespace JamaaTech.Smpp.Net.Client
{
/// <summary>
/// Provides data for <see cref="SmppClient.MessageReceived"/>, <see cref="SmppClient.MessageDelivered"/> and <see cref="SmppClient.MessageSent"/> events
/// </summary>
public class MessageEventArgs : EventArgs
{
#region Variables
private ShortMessage vShortMessage;
#endregion
#region Constructors
/// <summary>
/// Creates a new instance of <see cref="MessageEventArgs"/>
/// </summary>
/// <param name="message">The message associated with the message event</param>
public MessageEventArgs(ShortMessage message)
{
vShortMessage = message;
}
#endregion
#region Properties
/// <summary>
/// Gets the message associated with this event
/// </summary>
public ShortMessage ShortMessage
{
get { return vShortMessage; }
}
#endregion
}
}