2020-08-02 02:50:01 +02:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Net;
|
|
|
|
|
|
|
|
|
|
namespace NeonTea.Quakeball.Net {
|
|
|
|
|
public class Connection {
|
|
|
|
|
|
|
|
|
|
public IPEndPoint Endpoint;
|
2020-08-02 20:32:30 +02:00
|
|
|
|
public ConnectionStatus Status = ConnectionStatus.Establishing;
|
2020-08-02 02:50:01 +02:00
|
|
|
|
|
2020-08-02 20:32:30 +02:00
|
|
|
|
public Connection(IPEndPoint endpoint) {
|
2020-08-02 02:50:01 +02:00
|
|
|
|
this.Endpoint = endpoint;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-08-02 20:32:30 +02:00
|
|
|
|
|
|
|
|
|
public enum ConnectionStatus {
|
|
|
|
|
Establishing,
|
|
|
|
|
Ready,
|
|
|
|
|
Closed,
|
|
|
|
|
}
|
2020-08-02 02:50:01 +02:00
|
|
|
|
}
|