File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/main/java/com/openfin/desktop/demo Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,6 @@ public ChannelExample() {
4747 * Create a provider that supports "getValue", "increment" and "incrementBy n" actions
4848 */
4949 public void createChannelProvider () {
50- desktopConnection .getChannel (CHANNEL_NAME ).addChannelListener (new ChannelListener () {
51- @ Override
52- public void onChannelConnect (ConnectionEvent connectionEvent ) {
53- logger .info (String .format ("provider receives channel connect event from %s " , connectionEvent .getUuid ()));
54- }
55- @ Override
56- public void onChannelDisconnect (ConnectionEvent connectionEvent ) {
57- logger .info (String .format ("provider receives channel disconnect event from %s " , connectionEvent .getUuid ()));
58- }
59- });
6050 desktopConnection .getChannel (CHANNEL_NAME ).createAsync ().thenAccept (provider -> {
6151 provider .addProviderListener (new ChannelProviderListener () {
6252 @ Override
You can’t perform that action at this time.
0 commit comments