Created
March 17, 2016 16:28
-
-
Save lukasz-pyrzyk/c2b75b3622a0a9879606 to your computer and use it in GitHub Desktop.
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
using System; | |
namespace XGain | |
{ | |
public class ErrorArgs : EventArgs | |
{ | |
public ErrorArgs(Exception ex) | |
{ | |
Date = DateTime.Now; | |
Exception = ex; | |
} | |
public DateTime Date { get; set; } | |
public Exception Exception { get; set; } | |
} | |
} |
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
using System; | |
using XGain.Sockets; | |
namespace XGain | |
{ | |
public class MessageArgs : EventArgs | |
{ | |
public ISocket Client { get; set; } | |
public object UserToken { get; set; } | |
public byte[] RequestBytes { get; set; } | |
} | |
} |
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
using System; | |
using System.Net; | |
namespace XGain | |
{ | |
public class StartArgs : EventArgs | |
{ | |
public StartArgs(ProcessingType processingType, EndPoint localEndpoint) | |
{ | |
ProcessingType = processingType; | |
LocalEndpoint = localEndpoint; | |
} | |
public EndPoint LocalEndpoint { get; set; } | |
public ProcessingType ProcessingType { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment