HaveReConnect.java
554 Bytes
package com.huaheng.api.erp.service;
import com.netsdk.lib.NetSDKLib;
import com.sun.jna.Pointer;
import javax.swing.*;
public class HaveReConnect implements NetSDKLib.fHaveReConnect {
@Override
public void invoke(NetSDKLib.LLong m_hLoginHandle, String pchDVRIP, int nDVRPort, Pointer dwUser) {
System.out.printf("ReConnect Device[%s] Port[%d]\n", pchDVRIP, nDVRPort);
// 重连提示
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
}
});
}
}