public abstract class UDPBroadcastFragment extends Object implements ExtensionPoint
Extension on your implementation class to have it auto-discovered.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns all the registered
Called to build up a response XML.
public abstract void buildFragment(StringBuilder buf, SocketAddress sender)
buf- This is the buffer to write XML to. The implementation of this method should write a complete fragment. Because of the packet length restriction in UDP (somewhere around 1500 bytes), you cannot send a large amount of information.
sender- The socket address that sent the discovery packet out.
Copyright © 2004–2020. All rights reserved.