com.openfin.desktop.win32
Class DesktopPortHandler
java.lang.Object
com.openfin.desktop.win32.DesktopPortHandler
- All Implemented Interfaces:
- com.sun.jna.Callback, com.sun.jna.platform.win32.WinUser.WindowProc
public class DesktopPortHandler
- extends Object
- implements com.sun.jna.platform.win32.WinUser.WindowProc
Create native Windows and listens to WM_COPYDATA from Runtime for Runtime port discovery.
- Since:
- 12/11/14
- Author:
- wche
| Nested classes/interfaces inherited from interface com.sun.jna.Callback |
com.sun.jna.Callback.UncaughtExceptionHandler |
| Fields inherited from interface com.sun.jna.Callback |
FORBIDDEN_NAMES, METHOD_NAME |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registerEventListener
public static void registerEventListener(EventListener listener,
int timeout)
removeEventListener
public static void removeEventListener(EventListener listener)
callback
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)
- Specified by:
callback in interface com.sun.jna.platform.win32.WinUser.WindowProc
getLastError
public int getLastError()
fireEvent
public void fireEvent(com.sun.jna.platform.win32.WinDef.HWND hwnd,
ActionEvent actionEvent)
Copyright © 2016. All rights reserved.