com.openfin.desktop
Class DesktopUtils
java.lang.Object
com.openfin.desktop.DesktopUtils
public class DesktopUtils
- extends Object
Helper methods
- Since:
- 12/8/14
- Author:
- wche
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DesktopUtils
public DesktopUtils()
errorAckOnException
public static void errorAckOnException(AckListener ackListener,
Object source,
Exception ex)
- Call onError of an AckListen for an exception
- Parameters:
ackListener - source - Source of the Ackex - Exception for the Ack- See Also:
Ack,
AckListener
successAck
public static void successAck(AckListener callback,
Ack ack)
errorAck
public static void errorAck(AckListener callback,
Ack ack)
addEventListener
public static void addEventListener(Window window,
String evenType,
EventListener eventListener)
throws Exception
- Add event listener. Since this blocks for response, it should NOT called on websocket read thread.
- Parameters:
window - evenType - eventListener -
- Throws:
Exception
Copyright © 2016. All rights reserved.