You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Shadowsocks.Model;
- using System;
- using System.Collections.Generic;
- using System.Net;
- using System.Text;
-
- namespace Shadowsocks.Controller.Strategy
- {
- public enum IStrategyCallerType
- {
- TCP,
- UDP
- }
-
- public interface IStrategy
- {
- string Name { get; }
- string ID { get; }
-
- Server GetAServer(IStrategyCallerType type, IPEndPoint localIPEndPoint);
-
- void UpdateLatency(Server server);
-
- void UpdateLastRead(Server server);
-
- void UpdateLastWrite(Server server);
-
- void SetFailure(Server server);
- }
- }
|