initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using MessagePack;
|
||||
using Pulsar.Common.Enums;
|
||||
|
||||
namespace Pulsar.Common.Models
|
||||
{
|
||||
[MessagePackObject]
|
||||
public class TcpConnection
|
||||
{
|
||||
[Key(1)]
|
||||
public string ProcessName { get; set; }
|
||||
|
||||
[Key(2)]
|
||||
public string LocalAddress { get; set; }
|
||||
|
||||
[Key(3)]
|
||||
public ushort LocalPort { get; set; }
|
||||
|
||||
[Key(4)]
|
||||
public string RemoteAddress { get; set; }
|
||||
|
||||
[Key(5)]
|
||||
public ushort RemotePort { get; set; }
|
||||
|
||||
[Key(6)]
|
||||
public ConnectionState State { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user