Browse Source

https

master
hzzz 7 years ago
parent
commit
6b57516dee
  1. 11
      designer-realize/src/main/java/com/fr/design/mainframe/socketio/FineSocketInfoOperator.java
  2. 5
      designer-realize/src/main/java/com/fr/design/mainframe/socketio/SocketInfoOperator.java

11
designer-realize/src/main/java/com/fr/design/mainframe/socketio/FineSocketInfoOperator.java

@ -0,0 +1,11 @@
package com.fr.design.mainframe.socketio;
import com.fr.web.WebSocketConfig;
public class FineSocketInfoOperator implements SocketInfoOperator {
@Override
public int getPort() {
return WebSocketConfig.getInstance().getPort();
}
}

5
designer-realize/src/main/java/com/fr/design/mainframe/socketio/SocketInfoOperator.java

@ -0,0 +1,5 @@
package com.fr.design.mainframe.socketio;
public interface SocketInfoOperator {
int getPort();
}
Loading…
Cancel
Save