Package net.solosky.maplefetion.chain

Examples of net.solosky.maplefetion.chain.ProcessorChain


   * @throws TransferException
   */
  private void buildProcessorChain(Transfer transfer) throws FetionException
  {

    this.processorChain = new ProcessorChain();
    this.processorChain.addLast(new LiveV2MessageDispatcher(context, this, this));         // 消息分发服务
    if(FetionConfig.getBoolean("log.sipc.enable"))
      this.processorChain.addLast(new SipcLogger("LiveV2ChatDialog-" + mainBuddy.getFetionId()));                 // 日志记录
    this.processorChain.addLast(new TransferService(this.context));                           // 传输服务
    this.processorChain.addLast(new SipcParser());                          //信令解析器
View Full Code Here


     * 建立处理链
     * @throws FetionException
     */
    public void buildProcessorChain() throws FetionException
    {
    this.processorChain = new ProcessorChain();
    this.processorChain.addLast(new ServerMessageDispatcher(context, this, this));            //消息分发服务
    if(FetionConfig.getBoolean("log.sipc.enable"))
      this.processorChain.addLast(new SipcLogger("ServerDialog-"+this.context.getFetionUser().getFetionId()));                  //日志记录
    this.processorChain.addLast(new TransferService(this.context));                              //传输服务
    this.processorChain.addLast(new SipcParser());                              //信令解析器
View Full Code Here

TOP

Related Classes of net.solosky.maplefetion.chain.ProcessorChain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.