com.openfin.desktop
Interface DesktopStateListener

All Known Implementing Classes:
ExternalWindowObserver

public interface DesktopStateListener

listener interface for receiving status updates from AppDesktop.


Method Summary
 void onError(String reason)
          Callback when client cannot start or connect to the Desktop.
 void onMessage(String message)
          Callback when a message is sent to this client
 void onOutgoingMessage(String message)
          Callback when a message is sent from this client
 void onReady()
          Callback when Desktop is successfully connected and ready to accept commands.
 

Method Detail

onReady

void onReady()
Callback when Desktop is successfully connected and ready to accept commands.


onError

void onError(String reason)
Callback when client cannot start or connect to the Desktop.

Parameters:
reason - Error message

onMessage

void onMessage(String message)
Callback when a message is sent to this client

Parameters:
message - Message text

onOutgoingMessage

void onOutgoingMessage(String message)
Callback when a message is sent from this client

Parameters:
message - Message text


Copyright © 2016. All rights reserved.