Package com.openfin.desktop.channel
Interface ChannelProviderListener
-
public interface ChannelProviderListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonClientConnect(ChannelClientConnectEvent connectionEvent)Callback when a channel provider receives a connect request from a channel clientvoidonClientDisconnect(ChannelClientConnectEvent connectionEvent)Callback when a channel provider receives when a channel client disconnects
-
-
-
Method Detail
-
onClientConnect
void onClientConnect(ChannelClientConnectEvent connectionEvent) throws java.lang.Exception
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
void onClientDisconnect(ChannelClientConnectEvent connectionEvent)
Callback when a channel provider receives when a channel client disconnects- Parameters:
connectionEvent- event object for the disconnect
-
-