Class Test

java.lang.Object
com.openfin.desktop.test.Test
All Implemented Interfaces:
DesktopStateListener

public class Test
extends java.lang.Object
implements DesktopStateListener
  • Constructor Summary

    Constructors 
    Constructor Description
    Test()  
  • Method Summary

    Modifier and Type Method Description
    void createChannelClient()
    Create a channel client that invokes "getValue", "increment" and "incrementBy n" actions
    void createChannelProvider()
    Create a provider that supports "getValue", "increment" and "incrementBy n" actions
    static void main​(java.lang.String[] args)  
    void onClose​(java.lang.String error)
    Callback when connection is closed
    void onError​(java.lang.String reason)
    Callback when client cannot start or connect to the Desktop.
    void onMessage​(java.lang.String message)
    Callback when a message is sent to this client
    void onOutgoingMessage​(java.lang.String message)
    Callback when a message is sent from this client
    void onReady()
    Callback when Desktop is successfully connected and ready to accept commands.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait