public interface ChannelDispatcher extends Runnable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all listeners and stops all handler threads.
|
int |
getPort() |
void |
open(InetAddress nicAddress,
int port,
int maxBufferSize)
Opens the dispatcher listening on the given port and attempts to set the
OS socket buffer to maxBufferSize.
|
void open(InetAddress nicAddress, int port, int maxBufferSize) throws IOException
nicAddress - the local network interface to listen on, if null will listen on the wildcard address
which means listening on all local network interfacesport - the port to listen onmaxBufferSize - the size to set the OS socket buffer toIOException - if an error occurred listening on the given portint getPort()
void close()
Copyright © 2019 Apache NiFi Project. All rights reserved.