Package de.uniluebeck.itm.ncoap.communication.dispatching.server

Examples of de.uniluebeck.itm.ncoap.communication.dispatching.server.WebserviceManager


        addChannelHandler(DECODER, new CoapMessageDecoder());

        addChannelHandler(OUTBOUND_RELIABILITY_HANDLER, new OutboundReliabilityHandler(executor));
        addChannelHandler(INBOUND_RELIABILITY_HANDLER, new InboundReliabilityHandler(executor));

        addChannelHandler(WEBSERVICE_MANAGER, new WebserviceManager(notFoundHandler, executor));
    }
View Full Code Here


     *
     * @param webservice the {@link de.uniluebeck.itm.ncoap.application.server.webservice.Webservice} instance to
     *                   be registered
     */
    public void registerService(Webservice webservice){
        WebserviceManager manager =
                (WebserviceManager)this.channel.getPipeline().get(ServerChannelPipelineFactory.WEBSERVICE_MANAGER);

        manager.registerService(webservice);
    }
View Full Code Here

TOP

Related Classes of de.uniluebeck.itm.ncoap.communication.dispatching.server.WebserviceManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.