Package org.apache.nifi.websocket
Interface WebSocketClientService
- All Superinterfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,WebSocketService
@CapabilityDescription("Control a WebSocket client instance, so that NiFi can connect with external systems via WebSocket protocol.")
public interface WebSocketClientService
extends WebSocketService
Control a WebSocket client instance.
-
Field Summary
Fields inherited from interface org.apache.nifi.websocket.WebSocketService
SSL_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptionvoiddefault voidvoidstartClient(org.apache.nifi.controller.ConfigurationContext context) voidMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migratePropertiesMethods inherited from interface org.apache.nifi.websocket.WebSocketService
deregisterProcessor, isProcessorRegistered, registerProcessor, sendMessage
-
Method Details
-
startClient
- Throws:
Exception
-
stopClient
- Throws:
Exception
-
connect
- Throws:
IOException
-
connect
- Throws:
IOException
-
getTargetUri
String getTargetUri()
-