Back to project page msghandle.
The source code is released under:
GNU General Public License
If you think the Android project msghandle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.anlong.msghandle.service; //from w w w.ja va 2s . com import com.anlong.msghandle.common.MessageTimer; import com.anlong.msghandle.file.InitImageFileServer; import com.anlong.msghandle.message.InitRequMessageServer; import com.anlong.msghandle.message.InitRespMessageServer; /** * @Title: InitServerManager.java * @Package com.anlong.msghandle.service * @company ShenZhen AnLong Technology CO.,LTD. * @author lixl * @date 2014-3-12 ????4:01:07 * @version V1.0 * @Description: ??????????? */ public class InitServerManager { private InitServerManager(){} /** * @Title: startRequestMessageService * @Description: TODO ?????????????? * @param object * @return void * @throws */ public static void startRequestMessageService(Object object){ new Thread(new InitRequMessageServer(object)).start(); } /** * @Title: startMessageThreadService * @Description: TODO ??????????? * @return void * @throws */ public static void startResponseMessageService(){ new Thread(new InitRespMessageServer()).start(); } /** * @Title: startFileThreadService * @Description: TODO ????????? * @param request100 * @return void * @throws */ public static void startFileUploadThreadService(Object object){ new Thread(new InitImageFileServer(object)).start(); } /** * @Title: startMessageTimerService * @Description: TODO ???????????? * @author anlong * @param * @return void * @throws */ public static void startMessageTimerService(){ new Thread(new MessageTimer()).start(); } }