Package com.slack.api.bolt.socket_mode
Class SocketModeApp
java.lang.Object
com.slack.api.bolt.socket_mode.SocketModeApp
-
Constructor Summary
ConstructorDescriptionSocketModeApp
(App app) SocketModeApp
(SocketModeClient socketModeClient, App app) If you would like to synchronously detect the connection error as an exception when bootstrapping, use this constructor.SocketModeApp
(String appToken, App app) SocketModeApp
(String appToken, SocketModeClient.Backend backend, App app) SocketModeApp
(Supplier<SocketModeClient> clientFactory, App app) -
Method Summary
-
Constructor Details
-
SocketModeApp
- Throws:
IOException
-
SocketModeApp
- Throws:
IOException
-
SocketModeApp
- Throws:
IOException
-
SocketModeApp
-
SocketModeApp
If you would like to synchronously detect the connection error as an exception when bootstrapping, use this constructor. The first line can throw an exception in the case where either the token or network settings are valid.SocketModeClient client = Slack.getInstance().socketMode(appToken); SocketModeApp socketModeApp = new SocketModeApp(client, app);
-
-
Method Details