public class EnvironmentVarPortSupplier extends java.lang.Object implements PortSupplier
PortSupplier
that provides port information for Transport, based on
an environment variable.Modifier | Constructor and Description |
---|---|
protected |
EnvironmentVarPortSupplier() |
|
EnvironmentVarPortSupplier(java.lang.String varName)
This constructor builds StaticPortSupplier instance with pre-defined port
|
Modifier and Type | Method and Description |
---|---|
int |
getPort()
This method determines which port should be used for networking - Aeron Transport layer
|
protected EnvironmentVarPortSupplier()
public EnvironmentVarPortSupplier(@NonNull java.lang.String varName)
port
- public int getPort()
PortSupplier
getPort
in interface PortSupplier
Copyright © 2019. All rights reserved.