public final class PubSubUdpConnectionStateChangedEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubUdpConnectionStateChangedEvent.Builder
Builder for
PubSubUdpConnectionStateChangedEvent. |
| Modifier and Type | Method and Description |
|---|---|
static PubSubUdpConnectionStateChangedEvent.Builder |
builder()
Returns a new
PubSubUdpConnectionStateChangedEvent.Builder that can be used to construct instances of this class |
boolean |
equals(Object obj) |
PubSubUdpUadpConnectionConf |
getConnection()
The connection whose state changed.
|
Exception |
getError()
If
isConnected() is false, this can contain info about the failure of connecting. |
int |
hashCode() |
Boolean |
isConnected()
True if we are connected, false if not.
|
PubSubUdpConnectionStateChangedEvent.Builder |
toBuilder()
Returns a new
PubSubUdpConnectionStateChangedEvent.Builder that is initialized with the state of this object. |
String |
toString() |
public PubSubUdpUadpConnectionConf getConnection()
public Exception getError()
isConnected() is false, this can contain info about the failure of connecting. Note
that when the connection is disabled or removed this can be null even if isConnected()
is false.public Boolean isConnected()
public static PubSubUdpConnectionStateChangedEvent.Builder builder()
PubSubUdpConnectionStateChangedEvent.Builder that can be used to construct instances of this classpublic PubSubUdpConnectionStateChangedEvent.Builder toBuilder()
PubSubUdpConnectionStateChangedEvent.Builder that is initialized with the state of this object.Copyright © 2026. All rights reserved.