2017-02-27 02:02:19 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Plane.Communication
|
|
|
|
|
{
|
|
|
|
|
public class ConnectionEstablishedEventArgs : EventArgs
|
|
|
|
|
{
|
|
|
|
|
public ConnectionEstablishedEventArgs(IConnection connection, string remoteAddress)
|
|
|
|
|
{
|
|
|
|
|
this.Connection = connection;
|
|
|
|
|
RemoteAddress = remoteAddress;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IConnection Connection { get; private set; }
|
|
|
|
|
|
|
|
|
|
public string RemoteAddress { get; private set; }
|
2018-08-23 22:37:39 +08:00
|
|
|
|
|
|
|
|
|
|
2017-02-27 02:02:19 +08:00
|
|
|
|
}
|
|
|
|
|
}
|