Package de.uniluebeck.itm.ncoap.application.server.webservice.linkformat

Examples of de.uniluebeck.itm.ncoap.application.server.webservice.linkformat.EmptyLinkAttribute


     * @param uriPath the uriPath this {@link ObservableWebservice} is registered at.
     * @param initialStatus the initial status of this {@link ObservableWebservice}.
     */
    protected ObservableWebservice(String uriPath, T initialStatus, ScheduledExecutorService executor){
        this(uriPath, initialStatus, OptionValue.MAX_AGE_DEFAULT, executor);
        this.setLinkAttribute(new EmptyLinkAttribute(EmptyLinkAttribute.OBSERVABLE));
    }
View Full Code Here


            else if(attributeType == LinkAttribute.LONG_ATTRIBUTE)
                linkAttribute = new LongLinkAttribute(param[0], Long.parseLong(param[1]));

            else if(attributeType == LinkAttribute.EMPTY_ATTRIBUTE)
                linkAttribute = new EmptyLinkAttribute(param[0]);

            else
                throw new IllegalArgumentException("This should never happen!");

            return linkAttribute;
View Full Code Here

TOP

Related Classes of de.uniluebeck.itm.ncoap.application.server.webservice.linkformat.EmptyLinkAttribute

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.