public class DesktopPortHandler extends Object implements com.sun.jna.platform.win32.WinUser.WindowProc, PortDiscoveryHandler
Modifier and Type | Class and Description |
---|---|
static class |
DesktopPortHandler.COPYDATASTRUCT |
protected class |
DesktopPortHandler.TimeoutThread |
protected class |
DesktopPortHandler.WinMessageThread |
Modifier and Type | Method and Description |
---|---|
com.sun.jna.platform.win32.WinDef.LRESULT |
callback(com.sun.jna.platform.win32.WinDef.HWND hwnd,
int uMsg,
com.sun.jna.platform.win32.WinDef.WPARAM wparam,
com.sun.jna.platform.win32.WinDef.LPARAM lparam) |
void |
fireEvent(com.sun.jna.platform.win32.WinDef.HWND hwnd,
ActionEvent actionEvent) |
String |
getEffectivePipeName() |
static DesktopPortHandler |
getInstance() |
int |
getLastError() |
void |
registerEventListener(EventListener listener,
int timeout) |
void |
removeEventListener(EventListener listener) |
public static DesktopPortHandler getInstance()
public void registerEventListener(EventListener listener, int timeout)
registerEventListener
in interface PortDiscoveryHandler
public void removeEventListener(EventListener listener)
removeEventListener
in interface PortDiscoveryHandler
public String getEffectivePipeName()
getEffectivePipeName
in interface PortDiscoveryHandler
public com.sun.jna.platform.win32.WinDef.LRESULT callback(com.sun.jna.platform.win32.WinDef.HWND hwnd, int uMsg, com.sun.jna.platform.win32.WinDef.WPARAM wparam, com.sun.jna.platform.win32.WinDef.LPARAM lparam)
callback
in interface com.sun.jna.platform.win32.WinUser.WindowProc
public int getLastError()
public void fireEvent(com.sun.jna.platform.win32.WinDef.HWND hwnd, ActionEvent actionEvent)
Copyright © 2022. All rights reserved.