Skip to content

Commit adf4796

Browse files
authored
0.20.0 (#27)
MVP
1 parent 779ccef commit adf4796

File tree

358 files changed

+20462
-14190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+20462
-14190
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'java'
22
apply plugin: 'maven'
33

44
group 'org.iot.dsa'
5-
version '0.11.0'
5+
version '0.20.0'
66

77
sourceCompatibility = 1.6
88
targetCompatibility = 1.6

docs/DeveloperGuide.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,22 @@ Nodes are where application specific logic is bound to the link architecture. N
5353
will use various lifecycle callbacks to trigger their logic.
5454

5555
First you must create a root node. It is the hook for the rest of your functionality. The
56-
convention is to name it RootNode, but make sure it is in a unique package so that multiple links
56+
convention is to name it MainNode, but make sure it is in a unique package so that multiple links
5757
can be run in the same process.
5858

5959
Then you will probably create additional nodes that will be descendants in the tree rooted by your
6060
root node.
6161

62-
### Root Node
62+
### Main Node
6363

6464
All links require a single root node and it must subclass
65-
[org.iot.dsa.dslink.DSRootNode](https://iot-dsa-v2.github.io/sdk-dslink-java-v2/javadoc/index.html?org/iot/dsa/dslink/DSRootNode.html).
66-
The convention is to name the class RootNode but the package must be unique from any other
67-
RootNodes so that multiple links can be run in the same process.
65+
[org.iot.dsa.dslink.DSMainNode](https://iot-dsa-v2.github.io/sdk-dslink-java-v2/javadoc/index.html?org/iot/dsa/dslink/DSMainNode.html).
66+
The convention is to name the class MainNode but the package must be unique from any other
67+
MainNodes so that multiple links can be run in the same process.
6868

6969
When a link launches the first time, the type of the root node is looked up **dslink.json**.
70-
The config _rootType_ must store the fully qualified class name of the root node. After the first
71-
launch, the configuration database is serialized and the _rootType_ config will longer have an
70+
The config _mainType_ must store the fully qualified class name of the root node. After the first
71+
launch, the configuration database is serialized and the _mainType_ config will longer have an
7272
impact.
7373

7474
### Additional Nodes

docs/javadoc/allclasses-frame.html

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_40) on Mon Nov 13 13:50:40 PST 2017 -->
6-
<title>All Classes (dslink-core 0.11.0 API)</title>
7-
<meta name="date" content="2017-11-13">
5+
<!-- Generated by javadoc (1.8.0_40) on Mon Mar 05 09:54:10 PST 2018 -->
6+
<title>All Classes (dslink-core 0.19.0 API)</title>
7+
<meta name="date" content="2018-03-05">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>
@@ -27,11 +27,10 @@ <h1 class="bar">All&nbsp;Classes</h1>
2727
<li><a href="org/iot/dsa/dslink/responder/ApiObject.html" title="interface in org.iot.dsa.dslink.responder" target="classFrame"><span class="interfaceName">ApiObject</span></a></li>
2828
<li><a href="org/iot/dsa/logging/AsyncLogHandler.html" title="class in org.iot.dsa.logging" target="classFrame">AsyncLogHandler</a></li>
2929
<li><a href="org/iot/dsa/node/action/DSAction.html" title="class in org.iot.dsa.node.action" target="classFrame">DSAction</a></li>
30+
<li><a href="org/iot/dsa/node/action/DSActionValues.html" title="class in org.iot.dsa.node.action" target="classFrame">DSActionValues</a></li>
3031
<li><a href="org/iot/dsa/io/DSBase64.html" title="class in org.iot.dsa.io" target="classFrame">DSBase64</a></li>
3132
<li><a href="org/iot/dsa/node/DSBool.html" title="class in org.iot.dsa.node" target="classFrame">DSBool</a></li>
32-
<li><a href="org/iot/dsa/io/DSByteBuffer.html" title="class in org.iot.dsa.io" target="classFrame">DSByteBuffer</a></li>
3333
<li><a href="org/iot/dsa/node/DSBytes.html" title="class in org.iot.dsa.node" target="classFrame">DSBytes</a></li>
34-
<li><a href="org/iot/dsa/io/DSCharBuffer.html" title="class in org.iot.dsa.io" target="classFrame">DSCharBuffer</a></li>
3534
<li><a href="org/iot/dsa/time/DSDateTime.html" title="class in org.iot.dsa.time" target="classFrame">DSDateTime</a></li>
3635
<li><a href="org/iot/dsa/node/DSDouble.html" title="class in org.iot.dsa.node" target="classFrame">DSDouble</a></li>
3736
<li><a href="org/iot/dsa/node/DSElement.html" title="class in org.iot.dsa.node" target="classFrame">DSElement</a></li>
@@ -42,23 +41,26 @@ <h1 class="bar">All&nbsp;Classes</h1>
4241
<li><a href="org/iot/dsa/node/DSGroup.html" title="class in org.iot.dsa.node" target="classFrame">DSGroup</a></li>
4342
<li><a href="org/iot/dsa/node/DSIBoolean.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIBoolean</span></a></li>
4443
<li><a href="org/iot/dsa/node/DSIEnum.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIEnum</span></a></li>
44+
<li><a href="org/iot/dsa/node/event/DSIEvent.html" title="interface in org.iot.dsa.node.event" target="classFrame"><span class="interfaceName">DSIEvent</span></a></li>
45+
<li><a href="org/iot/dsa/logging/DSILevels.html" title="interface in org.iot.dsa.logging" target="classFrame"><span class="interfaceName">DSILevels</span></a></li>
4546
<li><a href="org/iot/dsa/node/DSIMetadata.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIMetadata</span></a></li>
4647
<li><a href="org/iot/dsa/node/DSInfo.html" title="class in org.iot.dsa.node" target="classFrame">DSInfo</a></li>
48+
<li><a href="org/iot/dsa/node/event/DSInfoTopic.html" title="class in org.iot.dsa.node.event" target="classFrame">DSInfoTopic</a></li>
49+
<li><a href="org/iot/dsa/node/event/DSInfoTopic.Event.html" title="enum in org.iot.dsa.node.event" target="classFrame">DSInfoTopic.Event</a></li>
4750
<li><a href="org/iot/dsa/node/DSInt.html" title="class in org.iot.dsa.node" target="classFrame">DSInt</a></li>
51+
<li><a href="org/iot/dsa/dslink/DSInternalErrorException.html" title="class in org.iot.dsa.dslink" target="classFrame">DSInternalErrorException</a></li>
4852
<li><a href="org/iot/dsa/time/DSInterval.html" title="enum in org.iot.dsa.time" target="classFrame">DSInterval</a></li>
4953
<li><a href="org/iot/dsa/node/DSINumber.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSINumber</span></a></li>
5054
<li><a href="org/iot/dsa/dslink/DSInvalidPathException.html" title="class in org.iot.dsa.dslink" target="classFrame">DSInvalidPathException</a></li>
5155
<li><a href="org/iot/dsa/node/DSIObject.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIObject</span></a></li>
52-
<li><a href="org/iot/dsa/io/DSIoException.html" title="class in org.iot.dsa.io" target="classFrame">DSIoException</a></li>
5356
<li><a href="org/iot/dsa/security/DSIPassword.html" title="interface in org.iot.dsa.security" target="classFrame"><span class="interfaceName">DSIPassword</span></a></li>
54-
<li><a href="org/iot/dsa/node/DSIPublisher.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIPublisher</span></a></li>
55-
<li><a href="org/iot/dsa/node/DSIPublisher.Event.html" title="enum in org.iot.dsa.node" target="classFrame">DSIPublisher.Event</a></li>
5657
<li><a href="org/iot/dsa/io/DSIReader.html" title="interface in org.iot.dsa.io" target="classFrame"><span class="interfaceName">DSIReader</span></a></li>
5758
<li><a href="org/iot/dsa/io/DSIReader.Token.html" title="enum in org.iot.dsa.io" target="classFrame">DSIReader.Token</a></li>
5859
<li><a href="org/iot/dsa/dslink/DSIRequester.html" title="interface in org.iot.dsa.dslink" target="classFrame"><span class="interfaceName">DSIRequester</span></a></li>
5960
<li><a href="org/iot/dsa/dslink/DSIResponder.html" title="interface in org.iot.dsa.dslink" target="classFrame"><span class="interfaceName">DSIResponder</span></a></li>
6061
<li><a href="org/iot/dsa/node/DSIStatus.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIStatus</span></a></li>
61-
<li><a href="org/iot/dsa/node/DSISubscriber.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSISubscriber</span></a></li>
62+
<li><a href="org/iot/dsa/node/DSIStorable.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIStorable</span></a></li>
63+
<li><a href="org/iot/dsa/node/event/DSISubscriber.html" title="interface in org.iot.dsa.node.event" target="classFrame"><span class="interfaceName">DSISubscriber</span></a></li>
6264
<li><a href="org/iot/dsa/node/DSIValue.html" title="interface in org.iot.dsa.node" target="classFrame"><span class="interfaceName">DSIValue</span></a></li>
6365
<li><a href="org/iot/dsa/io/DSIWriter.html" title="interface in org.iot.dsa.io" target="classFrame"><span class="interfaceName">DSIWriter</span></a></li>
6466
<li><a href="org/iot/dsa/node/DSJavaEnum.html" title="class in org.iot.dsa.node" target="classFrame">DSJavaEnum</a></li>
@@ -68,11 +70,11 @@ <h1 class="bar">All&nbsp;Classes</h1>
6870
<li><a href="org/iot/dsa/dslink/DSLinkConfig.html" title="class in org.iot.dsa.dslink" target="classFrame">DSLinkConfig</a></li>
6971
<li><a href="org/iot/dsa/dslink/DSLinkConnection.html" title="class in org.iot.dsa.dslink" target="classFrame">DSLinkConnection</a></li>
7072
<li><a href="org/iot/dsa/dslink/DSLinkConnection.Listener.html" title="interface in org.iot.dsa.dslink" target="classFrame"><span class="interfaceName">DSLinkConnection.Listener</span></a></li>
71-
<li><a href="org/iot/dsa/dslink/DSLinkSession.html" title="interface in org.iot.dsa.dslink" target="classFrame"><span class="interfaceName">DSLinkSession</span></a></li>
7273
<li><a href="org/iot/dsa/node/DSList.html" title="class in org.iot.dsa.node" target="classFrame">DSList</a></li>
7374
<li><a href="org/iot/dsa/logging/DSLogger.html" title="class in org.iot.dsa.logging" target="classFrame">DSLogger</a></li>
7475
<li><a href="org/iot/dsa/logging/DSLogging.html" title="class in org.iot.dsa.logging" target="classFrame">DSLogging</a></li>
7576
<li><a href="org/iot/dsa/node/DSLong.html" title="class in org.iot.dsa.node" target="classFrame">DSLong</a></li>
77+
<li><a href="org/iot/dsa/dslink/DSMainNode.html" title="class in org.iot.dsa.dslink" target="classFrame">DSMainNode</a></li>
7678
<li><a href="org/iot/dsa/node/DSMap.html" title="class in org.iot.dsa.node" target="classFrame">DSMap</a></li>
7779
<li><a href="org/iot/dsa/node/DSMap.Entry.html" title="class in org.iot.dsa.node" target="classFrame">DSMap.Entry</a></li>
7880
<li><a href="org/iot/dsa/node/DSMetadata.html" title="class in org.iot.dsa.node" target="classFrame">DSMetadata</a></li>
@@ -85,15 +87,21 @@ <h1 class="bar">All&nbsp;Classes</h1>
8587
<li><a href="org/iot/dsa/dslink/DSPermissionException.html" title="class in org.iot.dsa.dslink" target="classFrame">DSPermissionException</a></li>
8688
<li><a href="org/iot/dsa/node/DSRegistry.html" title="class in org.iot.dsa.node" target="classFrame">DSRegistry</a></li>
8789
<li><a href="org/iot/dsa/dslink/DSRequestException.html" title="class in org.iot.dsa.dslink" target="classFrame">DSRequestException</a></li>
88-
<li><a href="org/iot/dsa/dslink/DSRootNode.html" title="class in org.iot.dsa.dslink" target="classFrame">DSRootNode</a></li>
8990
<li><a href="org/iot/dsa/DSRuntime.html" title="class in org.iot.dsa" target="classFrame">DSRuntime</a></li>
9091
<li><a href="org/iot/dsa/DSRuntime.Timer.html" title="class in org.iot.dsa" target="classFrame">DSRuntime.Timer</a></li>
9192
<li><a href="org/iot/dsa/node/DSStatus.html" title="class in org.iot.dsa.node" target="classFrame">DSStatus</a></li>
9293
<li><a href="org/iot/dsa/node/DSString.html" title="class in org.iot.dsa.node" target="classFrame">DSString</a></li>
94+
<li><a href="org/iot/dsa/dslink/DSSysNode.html" title="class in org.iot.dsa.dslink" target="classFrame">DSSysNode</a></li>
9395
<li><a href="org/iot/dsa/time/DSTime.html" title="class in org.iot.dsa.time" target="classFrame">DSTime</a></li>
96+
<li><a href="org/iot/dsa/node/event/DSTopic.html" title="class in org.iot.dsa.node.event" target="classFrame">DSTopic</a></li>
97+
<li><a href="org/iot/dsa/dslink/DSUnsupportedException.html" title="class in org.iot.dsa.dslink" target="classFrame">DSUnsupportedException</a></li>
9498
<li><a href="org/iot/dsa/util/DSUtil.html" title="class in org.iot.dsa.util" target="classFrame">DSUtil</a></li>
9599
<li><a href="org/iot/dsa/node/DSValue.html" title="class in org.iot.dsa.node" target="classFrame">DSValue</a></li>
100+
<li><a href="org/iot/dsa/node/DSValueNode.html" title="class in org.iot.dsa.node" target="classFrame">DSValueNode</a></li>
101+
<li><a href="org/iot/dsa/node/event/DSValueTopic.html" title="class in org.iot.dsa.node.event" target="classFrame">DSValueTopic</a></li>
102+
<li><a href="org/iot/dsa/node/event/DSValueTopic.Event.html" title="enum in org.iot.dsa.node.event" target="classFrame">DSValueTopic.Event</a></li>
96103
<li><a href="org/iot/dsa/node/DSValueType.html" title="enum in org.iot.dsa.node" target="classFrame">DSValueType</a></li>
104+
<li><a href="org/iot/dsa/dslink/requester/ErrorType.html" title="enum in org.iot.dsa.dslink.requester" target="classFrame">ErrorType</a></li>
97105
<li><a href="org/iot/dsa/logging/FileLogHandler.html" title="class in org.iot.dsa.logging" target="classFrame">FileLogHandler</a></li>
98106
<li><a href="org/iot/dsa/dslink/responder/InboundInvokeRequest.html" title="interface in org.iot.dsa.dslink.responder" target="classFrame"><span class="interfaceName">InboundInvokeRequest</span></a></li>
99107
<li><a href="org/iot/dsa/dslink/responder/InboundListRequest.html" title="interface in org.iot.dsa.dslink.responder" target="classFrame"><span class="interfaceName">InboundListRequest</span></a></li>
@@ -104,8 +112,6 @@ <h1 class="bar">All&nbsp;Classes</h1>
104112
<li><a href="org/iot/dsa/io/json/JsonConstants.html" title="interface in org.iot.dsa.io.json" target="classFrame"><span class="interfaceName">JsonConstants</span></a></li>
105113
<li><a href="org/iot/dsa/io/json/JsonReader.html" title="class in org.iot.dsa.io.json" target="classFrame">JsonReader</a></li>
106114
<li><a href="org/iot/dsa/io/json/JsonWriter.html" title="class in org.iot.dsa.io.json" target="classFrame">JsonWriter</a></li>
107-
<li><a href="org/iot/dsa/io/msgpack/MsgpackReader.html" title="class in org.iot.dsa.io.msgpack" target="classFrame">MsgpackReader</a></li>
108-
<li><a href="org/iot/dsa/io/msgpack/MsgpackWriter.html" title="class in org.iot.dsa.io.msgpack" target="classFrame">MsgpackWriter</a></li>
109115
<li><a href="org/iot/dsa/io/NodeDecoder.html" title="class in org.iot.dsa.io" target="classFrame">NodeDecoder</a></li>
110116
<li><a href="org/iot/dsa/io/NodeEncoder.html" title="class in org.iot.dsa.io" target="classFrame">NodeEncoder</a></li>
111117
<li><a href="org/iot/dsa/dslink/requester/OutboundInvokeHandler.html" title="interface in org.iot.dsa.dslink.requester" target="classFrame"><span class="interfaceName">OutboundInvokeHandler</span></a></li>
@@ -116,6 +122,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
116122
<li><a href="org/iot/dsa/dslink/requester/OutboundStream.html" title="interface in org.iot.dsa.dslink.requester" target="classFrame"><span class="interfaceName">OutboundStream</span></a></li>
117123
<li><a href="org/iot/dsa/dslink/requester/OutboundSubscribeHandler.html" title="interface in org.iot.dsa.dslink.requester" target="classFrame"><span class="interfaceName">OutboundSubscribeHandler</span></a></li>
118124
<li><a href="org/iot/dsa/logging/PrintStreamLogHandler.html" title="class in org.iot.dsa.logging" target="classFrame">PrintStreamLogHandler</a></li>
125+
<li><a href="org/iot/dsa/dslink/requester/SimpleInvokeHandler.html" title="class in org.iot.dsa.dslink.requester" target="classFrame">SimpleInvokeHandler</a></li>
119126
<li><a href="org/iot/dsa/dslink/requester/SimpleRequestHandler.html" title="class in org.iot.dsa.dslink.requester" target="classFrame">SimpleRequestHandler</a></li>
120127
<li><a href="org/iot/dsa/dslink/responder/SubscriptionCloseHandler.html" title="interface in org.iot.dsa.dslink.responder" target="classFrame"><span class="interfaceName">SubscriptionCloseHandler</span></a></li>
121128
</ul>

0 commit comments

Comments
 (0)