Package org.apache.nifi.websocket
Interface WebSocketService
- All Superinterfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService
- All Known Subinterfaces:
WebSocketClientService,WebSocketServerService
- All Known Implementing Classes:
AbstractWebSocketService
public interface WebSocketService
extends org.apache.nifi.controller.ControllerService
Control an embedded WebSocket service instance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.PropertyDescriptor -
Method Summary
Modifier and TypeMethodDescriptionvoidderegisterProcessor(String endpointId, org.apache.nifi.processor.Processor processor) booleanisProcessorRegistered(String endpointId, org.apache.nifi.processor.Processor processor) voidregisterProcessor(String endpointId, org.apache.nifi.processor.Processor processor) voidsendMessage(String endpointId, String sessionId, SendMessage sendMessage) Methods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Field Details
-
SSL_CONTEXT
static final org.apache.nifi.components.PropertyDescriptor SSL_CONTEXT
-
-
Method Details
-
registerProcessor
void registerProcessor(String endpointId, org.apache.nifi.processor.Processor processor) throws WebSocketConfigurationException - Throws:
WebSocketConfigurationException
-
isProcessorRegistered
-
deregisterProcessor
void deregisterProcessor(String endpointId, org.apache.nifi.processor.Processor processor) throws WebSocketConfigurationException - Throws:
WebSocketConfigurationException
-
sendMessage
void sendMessage(String endpointId, String sessionId, SendMessage sendMessage) throws IOException, WebSocketConfigurationException
-