Package com.openfin.desktop.channel
Interface ChannelAction
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ChannelAction
The ChannelAction interface should be implemented when registering actions byChannelProviderorChannelClient- Author:
- Anthony
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectinvoke(String action, Object payload, org.json.JSONObject senderIdentity)Channel action to be invoked.
-
-
-
Method Detail
-
invoke
Object invoke(String action, Object payload, org.json.JSONObject senderIdentity)
Channel action to be invoked.- Parameters:
action- Name of the action to be registeredpayload- Payload sent along when invoking the action.senderIdentity- Identity of the sender.- Returns:
- Result by invoking the action..
-
-