-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b91ef60
commit b94c5fb
Showing
4 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* AberrantSMPP: SMPP communication library | ||
/* AberrantSMPP: SMPP communication library | ||
* Copyright (C) 2004, 2005 Christopher M. Bouzek | ||
* Copyright (C) 2010, 2011 Pablo Ruiz García <[email protected]> | ||
* | ||
|
@@ -1309,6 +1309,17 @@ protected override void Dispose(bool disposing) | |
} | ||
|
||
base.Dispose(disposing); | ||
} | ||
|
||
#region explicit ISmppClient adapter methods | ||
TimeSpan ISmppClient.ResponseTimeout | ||
{ | ||
get => TimeSpan.FromMilliseconds(ResponseTimeout); | ||
set => ResponseTimeout = (int)value.TotalMilliseconds; | ||
} | ||
SmppResponse ISmppClient.SendAndWait(SmppRequest request) => SendRequest(request); | ||
IEnumerable<SmppResponse> ISmppClient.SendAndWait(IEnumerable<SmppRequest> requests) => SendRequests(requests); | ||
IEnumerable<string> ISmppClient.SendAndWait(SmppSubmitSm pdu, SmppSarMethod method) => Send(pdu, method); | ||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters