Package org.apache.nifi.websocket
Interface WebSocketService
- All Superinterfaces:
ConfigurableComponent,ControllerService
- All Known Subinterfaces:
WebSocketClientService,WebSocketServerService
- All Known Implementing Classes:
AbstractWebSocketService
Control an embedded WebSocket service instance.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidderegisterProcessor(String endpointId, Processor processor) booleanisProcessorRegistered(String endpointId, Processor processor) voidregisterProcessor(String endpointId, 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
-
-
Method Details
-
registerProcessor
void registerProcessor(String endpointId, Processor processor) throws WebSocketConfigurationException - Throws:
WebSocketConfigurationException
-
isProcessorRegistered
-
deregisterProcessor
void deregisterProcessor(String endpointId, Processor processor) throws WebSocketConfigurationException - Throws:
WebSocketConfigurationException
-
sendMessage
void sendMessage(String endpointId, String sessionId, SendMessage sendMessage) throws IOException, WebSocketConfigurationException
-