Package com.openfin.desktop.channel
Interface ChannelProviderListener
public interface ChannelProviderListener
-
Method Summary
Modifier and Type Method Description void
onClientConnect(ChannelClientConnectEvent connectionEvent)
Callback when a channel provider receives a connect request from a channel clientvoid
onClientDisconnect(ChannelClientConnectEvent connectionEvent)
Callback when a channel provider receives when a channel client disconnects
-
Method Details
-
onClientConnect
Callback when a channel provider receives a connect request from a channel client- Parameters:
connectionEvent
- connection event- Throws:
java.lang.Exception
- a provider can reject the connection by throwing an exception
-
onClientDisconnect
Callback when a channel provider receives when a channel client disconnects- Parameters:
connectionEvent
- event object for the disconnect
-