liurunyu
2024-09-07 9ad6b0179be4d351105f1507779d4f41a3a41953
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/rmi/RmiUnit.java
@@ -7,7 +7,7 @@
import com.dy.common.mw.UnitAdapterInterface;
import com.dy.common.mw.UnitInterface;
import com.dy.common.mw.UnitStartedCallbackInterface;
import com.dy.common.mw.UnitCallbackInterface;
public class RmiUnit implements UnitInterface {
   
@@ -19,7 +19,7 @@
   private static RmiFrameWork rmiFrm = null ;
   
   private RmiUnit(){} ;
   private RmiUnit(){}
   
   public static RmiUnit getInstance(){
      return instance ;
@@ -46,7 +46,7 @@
   /**
    * 启动模块
    */
   public void start(UnitStartedCallbackInterface callback) throws Exception {
   public void start(UnitCallbackInterface callback) throws Exception {
      if(!started){
         started = true ;
@@ -73,12 +73,10 @@
            e.printStackTrace();
            System.out.println("Rmi通信模块启动失败!");
            isException = true ;
         }finally{
            ;
         }
         if(!isException){
            if(vo.showStartInfo != null && vo.showStartInfo.booleanValue()){
            if(vo.showStartInfo != null && vo.showStartInfo){
               System.out.println("Rmi模块成功启动,端口:" + vo.port + ",上下文为:" + vo.context );
            }
         }
@@ -87,7 +85,7 @@
   }
   @Override
   public void stop(UnitStartedCallbackInterface callback) throws Exception {
   public void stop(UnitCallbackInterface callback) {
   }