Package com.kristensoft.kdc
Class UdpClientParameters
- java.lang.Object
-
- com.kristensoft.kdc.Parameters
-
- com.kristensoft.kdc.ClientParameters
-
- com.kristensoft.kdc.UdpClientParameters
-
public class UdpClientParameters extends ClientParameters
Defines configuration parameters for aUdpClient.UDP-specific configuration includes socket options and client event handlers, in addition to the common client settings inherited from
ClientParameters.Instances are created using the
UdpClientParameters.Builder.- Author:
- Charles B. Kozoyed
- See Also:
UdpClient,UdpSocketOptions,UdpClientEventHandler,UdpClientParameters.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUdpClientParameters.BuilderBuildsUdpClientParametersinstances.-
Nested classes/interfaces inherited from class com.kristensoft.kdc.Parameters
Parameters.Defaults
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UdpClientEventHandler>getUdpClientEventHandlers()Returns an unmodifiable list of the registered UDP client event handlers.UdpSocketOptionsgetUdpSocketOptions()Returns the socket options used by this UDP client.-
Methods inherited from class com.kristensoft.kdc.ClientParameters
getClientType, getRemoteAddress, getSyncReplyTimeout
-
Methods inherited from class com.kristensoft.kdc.Parameters
getApiMap, getBindAddress, getConnectionQueuePoolSize, getEncryptionKey, getLatencyReportingInterval, getMaxReceiveBufferSize, getMaxSendBufferSize, getProtocol, getProtocolVersion, getSerializationFormat, getWhiteList, isAutoStart, isCompressed, isCrc, isLatencyModeOn
-
-
-
-
Method Detail
-
getUdpSocketOptions
public UdpSocketOptions getUdpSocketOptions()
Returns the socket options used by this UDP client.- Returns:
- the UDP socket options
-
getUdpClientEventHandlers
public List<UdpClientEventHandler> getUdpClientEventHandlers()
Returns an unmodifiable list of the registered UDP client event handlers.- Returns:
- an unmodifiable list of the registered UDP client event handlers
-
-