DSLink SDK V2 Websocket Implementation

V2 Implementation of Websockets for IoT DSA protocol

License

License

GroupId

GroupId

org.iot-dsa
ArtifactId

ArtifactId

dslink-websocket-standalone-v2
Last Version

Last Version

0.26.0
Release Date

Release Date

Type

Type

jar
Description

Description

DSLink SDK V2 Websocket Implementation
V2 Implementation of Websockets for IoT DSA protocol
Project URL

Project URL

http://iot-dsa.org
Source Code Management

Source Code Management

https://github.com/iot-dsa-v2/sdk-dslink-java-v2

Download dslink-websocket-standalone-v2

How to add to project

<!-- https://jarcasting.com/artifacts/org.iot-dsa/dslink-websocket-standalone-v2/ -->
<dependency>
    <groupId>org.iot-dsa</groupId>
    <artifactId>dslink-websocket-standalone-v2</artifactId>
    <version>0.26.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.iot-dsa/dslink-websocket-standalone-v2/
implementation 'org.iot-dsa:dslink-websocket-standalone-v2:0.26.0'
// https://jarcasting.com/artifacts/org.iot-dsa/dslink-websocket-standalone-v2/
implementation ("org.iot-dsa:dslink-websocket-standalone-v2:0.26.0")
'org.iot-dsa:dslink-websocket-standalone-v2:jar:0.26.0'
<dependency org="org.iot-dsa" name="dslink-websocket-standalone-v2" rev="0.26.0">
  <artifact name="dslink-websocket-standalone-v2" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.iot-dsa', module='dslink-websocket-standalone-v2', version='0.26.0')
)
libraryDependencies += "org.iot-dsa" % "dslink-websocket-standalone-v2" % "0.26.0"
[org.iot-dsa/dslink-websocket-standalone-v2 "0.26.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.iot-dsa : dslink-core-v2 jar 0.26.0
org.glassfish.tyrus.bundles : tyrus-standalone-client jar [1.12,)

test (1)

Group / Artifact Type Version
junit : junit jar [4.12,)

Project Modules

There are no modules declared in this project.

sdk-dslink-java-v2

Overview

This repository contains a Java SDK for creating DSA links. To learn about the DSA architecture, please visit this description of how DSA works.

Link Development

Please read the developer guide.

Sub Projects

/dslink-v2

  • Link implementation. Links that wish to use a custom websocket library should declare a dependency on this, such as in a servlet container that already provides one. Otherwise, use dslink-v2-websocket.

/dslink-v2-api

  • The APIs to use for link development.

/dslink-v2-websocket

  • Link base that uses Tyrus, the reference implementation of JSR 356, for websockets. Most links should declare a dependency on this.

JPMS Modules

This SDK is targeted at Java 8. However, they can be used in the Java Platform Module System with the following automatic module names:

  • /dslink-v2 - org.iot.dsa.dslink.v2
  • /dslink-v2-api - org.iot.dsa.dslink.v2.api
  • /dslink-v2-websocket - org.iot.dsa.dslink.v2.websocket

Dependency Management

During development JitPack will be used as the public repository. For more information, visit the JitPack page for this SDK.

The following examples show how to declare a dependency on a specific module which is the most common use case:

Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    repository>
</repositories>

<dependency>
    <groupId>com.github.iot-dsa-v2.sdk-dslink-java-v2</groupId>
    <artifactId>dslink-v2-websocket</artifactId>
    <version>n.n.n</version>
    <type>pom</type>
</dependency>

Gradle

repositories {
    maven {
        url 'https://jitpack.io'
    }
}
dependencies {
    implementation 'com.github.iot-dsa-v2.sdk-dslink-java-v2:dslink-v2-websocket:n.n.n'
}

Acknowledgements

Project Tyrus

This software contains unmodified binary redistributions for Project Tyrus, which is dual licensed and available under the CDDL 1.1 and GPL 2 with CPE. An original copy of the license agreement can be found at: https://tyrus-project.github.io/license.html

Silk Icons

This software uses icons from Silk Icons 1.3 created by Mark James and licensed under a Creative Commons Attribute 2.5 License.

org.iot-dsa

Versions

Version
0.26.0
0.21.0