DisConnect.java 549 Bytes
package com.huaheng.api.erp.service;

import com.netsdk.lib.NetSDKLib;
import com.sun.jna.Pointer;

import javax.swing.*;

public class DisConnect  implements NetSDKLib.fDisConnect {
    @Override
    public void invoke(NetSDKLib.LLong m_hLoginHandle, String pchDVRIP, int nDVRPort, Pointer dwUser) {
        System.out.printf("Device[%s] Port[%d] DisConnect!\n", pchDVRIP, nDVRPort);
        // 断线提示
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {

            }
        });
    }
}