public final class PubSubUdpRawMessageReceivedEvent extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PubSubUdpUadpConnectionConf |
getConnection()
The connection that received the UDP Datagram.
|
ByteString |
getData()
The data of the Datagram.
|
SocketAddress |
getSourceAddress()
Returns the source address of the Datagram (i.e.
|
int |
hashCode() |
boolean |
isFromDiscoverySocket()
Returns true if the Datagram was obtained from a separate discovery address, false otherwise.
|
com.prosysopc.ua.pubsub.PubSubUdpRawMessageReceivedEvent.Builder |
toBuilder()
Returns a new
Builder that is initialized with the state of this object. |
String |
toString() |
PubSubUdpRawMessageReceivedEvent |
withConnection(PubSubUdpUadpConnectionConf connection) |
PubSubUdpRawMessageReceivedEvent |
withData(ByteString data) |
PubSubUdpRawMessageReceivedEvent |
withFromDiscoverySocket(boolean fromDiscoverySocket) |
PubSubUdpRawMessageReceivedEvent |
withSourceAddress(SocketAddress sourceAddress) |
public PubSubUdpUadpConnectionConf getConnection()
public ByteString getData()
public SocketAddress getSourceAddress()
DatagramChannel#receive(java.nio.ByteBuffer) would return).public boolean isFromDiscoverySocket()
public PubSubUdpRawMessageReceivedEvent withConnection(PubSubUdpUadpConnectionConf connection)
public PubSubUdpRawMessageReceivedEvent withData(ByteString data)
public PubSubUdpRawMessageReceivedEvent withSourceAddress(SocketAddress sourceAddress)
public PubSubUdpRawMessageReceivedEvent withFromDiscoverySocket(boolean fromDiscoverySocket)
public com.prosysopc.ua.pubsub.PubSubUdpRawMessageReceivedEvent.Builder toBuilder()
Builder that is initialized with the state of this object.Copyright © 2026. All rights reserved.