All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.acgist.snail.net.application.ApplicationServer Maven / Gradle / Ivy

Go to download

基于Java开发的下载工具,支持下载协议:BT(BitTorrent、磁力链接、种子文件)、HLS(M3U8)、FTP、HTTP。

There is a newer version: 2.17.0
Show newest version
package com.acgist.snail.net.application;

import com.acgist.snail.config.SystemConfig;
import com.acgist.snail.net.TcpServer;

/**
 * 

系统服务端

* * @author acgist */ public final class ApplicationServer extends TcpServer { private static final ApplicationServer INSTANCE = new ApplicationServer(); public static final ApplicationServer getInstance() { return INSTANCE; } private ApplicationServer() { super("Application Server", ApplicationMessageHandler.class); } @Override public boolean listen() { return this.listen(SystemConfig.getServicePort()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy