Merge branch 'master' into 重构/1078
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
package com.genersoft.iot.vmp.common;
|
||||
|
||||
public interface GeneralCallback<T>{
|
||||
void run(int code, String msg, T data);
|
||||
}
|
||||
27
src/main/java/com/genersoft/iot/vmp/common/RemoteAddressInfo.java
Executable file
27
src/main/java/com/genersoft/iot/vmp/common/RemoteAddressInfo.java
Executable file
@@ -0,0 +1,27 @@
|
||||
package com.genersoft.iot.vmp.common;
|
||||
|
||||
public class RemoteAddressInfo {
|
||||
private String ip;
|
||||
private int port;
|
||||
|
||||
public RemoteAddressInfo(String ip, int port) {
|
||||
this.ip = ip;
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
public String getIp() {
|
||||
return ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public int getPort() {
|
||||
return port;
|
||||
}
|
||||
|
||||
public void setPort(int port) {
|
||||
this.port = port;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user