Interface Listener
-
@DoNotImplement public interface Listener
Holds information about the listener a client uses for a connection to HiveMQ.- Since:
- 4.0.0, CE 2019.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getBindAddress()
The bind address of HiveMQ the client is connected to.@NotNull ListenerType
getListenerType()
The type of the listener the client uses for the connection to HiveMQ.@NotNull String
getName()
int
getPort()
The port of HiveMQ the client is connected to.
-
-
-
Method Detail
-
getPort
int getPort()
The port of HiveMQ the client is connected to.- Returns:
- The port of the listener.
- Since:
- 4.0.0, CE 2019.1
-
getBindAddress
@NotNull String getBindAddress()
The bind address of HiveMQ the client is connected to.- Returns:
- The bind address of the listener.
- Since:
- 4.0.0, CE 2019.1
-
getListenerType
@NotNull ListenerType getListenerType()
The type of the listener the client uses for the connection to HiveMQ.- Returns:
- The type of the listener.
- Since:
- 4.0.0, CE 2019.1
-
-