public abstract class AbstractWebSocketService extends org.apache.nifi.controller.AbstractControllerService implements WebSocketService
| Modifier and Type | Field and Description |
|---|---|
protected WebSocketMessageRouters |
routers |
SSL_CONTEXT| Constructor and Description |
|---|
AbstractWebSocketService() |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterProcessor(String endpointId,
org.apache.nifi.processor.Processor processor) |
boolean |
isProcessorRegistered(String endpointId,
org.apache.nifi.processor.Processor processor) |
void |
registerProcessor(String endpointId,
org.apache.nifi.processor.Processor processor) |
void |
sendMessage(String endpointId,
String sessionId,
SendMessage sendMessage) |
getControllerServiceLookup, getIdentifier, getLogger, getStateManager, init, initializecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, toString, validateprotected final WebSocketMessageRouters routers
public void registerProcessor(String endpointId, org.apache.nifi.processor.Processor processor) throws WebSocketConfigurationException
registerProcessor in interface WebSocketServiceWebSocketConfigurationExceptionpublic boolean isProcessorRegistered(String endpointId, org.apache.nifi.processor.Processor processor)
isProcessorRegistered in interface WebSocketServicepublic void deregisterProcessor(String endpointId, org.apache.nifi.processor.Processor processor) throws WebSocketConfigurationException
deregisterProcessor in interface WebSocketServiceWebSocketConfigurationExceptionpublic void sendMessage(String endpointId, String sessionId, SendMessage sendMessage) throws IOException, WebSocketConfigurationException
sendMessage in interface WebSocketServiceIOExceptionWebSocketConfigurationExceptionCopyright © 2017 Apache NiFi Project. All rights reserved.