Package org.apache.nifi.websocket
Class AbstractWebSocketService
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.websocket.AbstractWebSocketService
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,WebSocketService
public abstract class AbstractWebSocketService
extends org.apache.nifi.controller.AbstractControllerService
implements WebSocketService
-
Field Summary
FieldsFields inherited from interface org.apache.nifi.websocket.WebSocketService
SSL_CONTEXT -
Constructor Summary
Constructors -
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 class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
routers
-
-
Constructor Details
-
AbstractWebSocketService
public AbstractWebSocketService()
-
-
Method Details
-
registerProcessor
public void registerProcessor(String endpointId, org.apache.nifi.processor.Processor processor) throws WebSocketConfigurationException - Specified by:
registerProcessorin interfaceWebSocketService- Throws:
WebSocketConfigurationException
-
isProcessorRegistered
public boolean isProcessorRegistered(String endpointId, org.apache.nifi.processor.Processor processor) - Specified by:
isProcessorRegisteredin interfaceWebSocketService
-
deregisterProcessor
public void deregisterProcessor(String endpointId, org.apache.nifi.processor.Processor processor) throws WebSocketConfigurationException - Specified by:
deregisterProcessorin interfaceWebSocketService- Throws:
WebSocketConfigurationException
-
sendMessage
public void sendMessage(String endpointId, String sessionId, SendMessage sendMessage) throws IOException, WebSocketConfigurationException - Specified by:
sendMessagein interfaceWebSocketService- Throws:
IOExceptionWebSocketConfigurationException
-