com.kuka.comm.net
Class UdpConnectionConfigurator

java.lang.Object
  extended by com.kuka.comm.ConnectionConfigurator<C>
      extended by com.kuka.comm.net.NetConnectionConfigurator<UdpConnection>
          extended by com.kuka.comm.net.UdpConnectionConfigurator

public class UdpConnectionConfigurator
extends NetConnectionConfigurator<UdpConnection>

A UdpConnConfigurator is used by a UdpServer to configure new UdpConnections upon an incoming connection request.


Constructor Summary
UdpConnectionConfigurator(Encoder<Object,ByteBuffer> encoder, Decoder<ByteBuffer,Object> decoder)
          Creates a new configurator that uses the given encoder and decoder on configured connections.
 
Method Summary
 
Methods inherited from class com.kuka.comm.net.NetConnectionConfigurator
configure, getAutoReconnectStrategy, getDecoder, getEncoder, getInputBufferSize, getOutputBufferSize, isAutoReconnectStrategySet, isInputBufferSizeSet, isOutputBufferSizeSet, setAutoReconnectStrategy, setInputBufferSize, setOutputBufferSize, unsetAutoReconnectStrategy, unsetInputBufferSize, unsetOutputBufferSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdpConnectionConfigurator

public UdpConnectionConfigurator(Encoder<Object,ByteBuffer> encoder,
                                 Decoder<ByteBuffer,Object> decoder)
Creates a new configurator that uses the given encoder and decoder on configured connections. The encoder and decoder cannot both be null.

Parameters:
encoder - An encoder
decoder - A decoder


Copyright © 2019. All rights reserved.