public ServiceHost() { services = new List<IServiceDistributer> { new TcpFileTransmitServiceDistributer() }; config = new FileTransferServiceConfig() { LocalPort = 9050, }; }
public ServiceHost() { services = new List <IServiceDistributer> { new TcpFileTransmitServiceDistributer() }; config = new FileTransferServiceConfig() { LocalPort = 9050, }; }
/// <summary> /// 服务初始化 /// </summary> public void Init(FileTransferServiceConfig cfg) { throw new NotImplementedException(); }