Class ServerAddress
- java.lang.Object
-
- io.axoniq.axonserver.connector.impl.ServerAddress
-
public class ServerAddress extends Object
Definition of an AxonServer address, defining thegetGrpcPort()andgetHostName().
-
-
Field Summary
Fields Modifier and Type Field Description static ServerAddressDEFAULT
-
Constructor Summary
Constructors Constructor Description ServerAddress()ServerAddress(String host)ServerAddress(String host, int grpcPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetGrpcPort()Return the gRPR port defined in thisServerAddressinstance.StringgetHostName()Return the host name defined in thisServerAddressinstance.inthashCode()StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final ServerAddress DEFAULT
-
-
Method Detail
-
getGrpcPort
public int getGrpcPort()
Return the gRPR port defined in thisServerAddressinstance.- Returns:
- the gRPR port defined in this
ServerAddressinstance
-
getHostName
public String getHostName()
Return the host name defined in thisServerAddressinstance.- Returns:
- the host name defined in this
ServerAddressinstance
-
-