Package org.openremote.agent.protocol.udp
package org.openremote.agent.protocol.udp
-
ClassesClassDescriptionAbstractUDPProtocol<T extends AbstractNettyIOClientProtocol<T,
U, W, X, V>, U extends IOAgent<U, T, V>, V extends org.openremote.model.asset.agent.AgentLink<?>, W, X extends UDPIOClient<W>> This is an abstract UDP client protocol for communicating with UDP servers; concrete implementations must implementAbstractNettyIOClientProtocol.getEncoderDecoderProvider()
to provide encoders/decoders for messages of type <T>.UDP in Netty is crap; everything goes through the single server channel as it is connectionless but there is no way of tracking packet origin across decoders.UDPIOClient<T>This is aIOClient
implementation for UDP.This is a UDP client protocol for communicating with UDP servers; it uses theUDPIOClient
to handle the communication and all messages are processed as strings; if you require custom message type handling then sub class theAbstractUDPProtocol
).This is anAbstractUDPServer
implementation that handlesString
messages.