-
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.
Reworked the way auto-reconnect/auto-rebind works. Added a TODO file. Minor AsyncSocketClient fixes.
- Loading branch information
Showing
12 changed files
with
343 additions
and
173 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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace AberrantSMPP.EventObjects | ||
{ | ||
public class BindErrorEventArgs : CommonErrorEventArgs | ||
{ | ||
public BindErrorEventArgs(Exception exception) | ||
: base(exception) | ||
{ | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
using AberrantSMPP.Packet; | ||
|
||
namespace AberrantSMPP.EventObjects | ||
{ | ||
public class SendErrorEventArgs : CommonErrorEventArgs | ||
{ | ||
private byte[] _data; | ||
|
||
public Pdu Packet { get; private set; } | ||
public byte[] Data { get { return (byte[])_data.Clone(); } } | ||
|
||
public SendErrorEventArgs(Pdu packet, byte[] data, Exception exception) | ||
: base(exception) | ||
{ | ||
Packet = packet; | ||
_data = data; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.