/** * Creates a new <em>coap</em> endpoint for a configuration and message exchange store. * * @param address The IP address and port to bind to. * @param config The configuration values to use. * @param exchangeStore The store to use for keeping track of message exchanges. */ public CoapEndpoint(final InetSocketAddress address, final NetworkConfig config, final MessageExchangeStore exchangeStore) { this(createUDPConnector(address, config), config, exchangeStore); }
/** * Instantiates a new endpoint with the specified address and configuration. * * @param address the address * @param config the network configuration */ public CoapEndpoint(InetSocketAddress address, NetworkConfig config) { this(createUDPConnector(address, config), config); }