Package org.apache.nifi.event.transport
Interface EventServer
- All Known Implementing Classes:
NettyEventServer
public interface EventServer
Event Server
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the port that the server is listening on, if available.voidshutdown()Shutdown Event Server and close resources
-
Method Details
-
shutdown
void shutdown()Shutdown Event Server and close resources -
getListeningPort
int getListeningPort()Returns the port that the server is listening on, if available. If unable to determine the port, will return 0.- Returns:
- the port that the server is listening on, or 0 if unable to determine the port
-