Package com.exasol.udfdebugging
Interface LocalServiceExposer
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LocalServiceExposer
Implementors of this interface exposes a local service (socket) into the Exasol database.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description InetSocketAddressexposeLocalServiceToDatabase(int port)Get the address for the network scope inside of the Exasol database for a given local service.static LocalServiceExposerforHost(String host)Create an instance ofLocalServiceExposerfor a host that does not require port mapping.
-
-
-
Method Detail
-
forHost
static LocalServiceExposer forHost(String host)
Create an instance ofLocalServiceExposerfor a host that does not require port mapping.- Parameters:
host- host name or IP address of host (but without port) providing the service to expose- Returns:
- new instance of
LocalServiceExposer
-
exposeLocalServiceToDatabase
InetSocketAddress exposeLocalServiceToDatabase(int port)
Get the address for the network scope inside of the Exasol database for a given local service.- Parameters:
port- port number- Returns:
- proxy
-
-