文件传输服务配置,用于初始化文件传输服务的listener
Example #1
0
 public ServiceHost()
 {
     services = new List<IServiceDistributer> { new TcpFileTransmitServiceDistributer() };
     config = new FileTransferServiceConfig()
     {
         LocalPort = 9050,
     };
 }
Example #2
0
 public ServiceHost()
 {
     services = new List <IServiceDistributer> {
         new TcpFileTransmitServiceDistributer()
     };
     config = new FileTransferServiceConfig()
     {
         LocalPort = 9050,
     };
 }
 /// <summary>
 /// 服务初始化
 /// </summary>
 public void Init(FileTransferServiceConfig cfg)
 {
     throw new NotImplementedException();
 }