public static final class PubSubUdpConnectionStateChangedEvent.Builder extends Object implements PubSubSystemEvent.Builder<PubSubUdpConnectionStateChangedEvent.Builder>
PubSubUdpConnectionStateChangedEvent.| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
connected |
protected PubSubUdpUadpConnectionConf |
connection |
protected Exception |
error |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PubSubUdpConnectionStateChangedEvent |
build()
Returns an instance of
PubSubUdpConnectionStateChangedEvent with the values given to this builder. |
PubSubUdpUadpConnectionConf |
getConnection() |
Exception |
getError() |
Boolean |
isConnected() |
PubSubUdpConnectionStateChangedEvent.Builder |
setConnected(Boolean connected)
Set the value for
PubSubUdpConnectionStateChangedEvent#getConnected(). |
PubSubUdpConnectionStateChangedEvent.Builder |
setConnection(PubSubUdpUadpConnectionConf connection)
Set the value for
PubSubUdpConnectionStateChangedEvent.getConnection(). |
PubSubUdpConnectionStateChangedEvent.Builder |
setError(Exception error)
Set the value for
PubSubUdpConnectionStateChangedEvent.getError(). |
protected PubSubUdpUadpConnectionConf connection
protected Exception error
protected Boolean connected
public PubSubUdpUadpConnectionConf getConnection()
public Exception getError()
public Boolean isConnected()
public PubSubUdpConnectionStateChangedEvent.Builder setConnection(PubSubUdpUadpConnectionConf connection)
PubSubUdpConnectionStateChangedEvent.getConnection(). Returns itself for method chaining.public PubSubUdpConnectionStateChangedEvent.Builder setError(Exception error)
PubSubUdpConnectionStateChangedEvent.getError(). Returns itself for method chaining.public PubSubUdpConnectionStateChangedEvent.Builder setConnected(Boolean connected)
PubSubUdpConnectionStateChangedEvent#getConnected(). Returns itself for method chaining.public PubSubUdpConnectionStateChangedEvent build()
PubSubUdpConnectionStateChangedEvent with the values given to this builder.Copyright © 2026. All rights reserved.