mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Deprecated old socket nodes
This commit is contained in:
parent
eb9b31a21b
commit
fff61861c1
@ -47,7 +47,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('socket in',{
|
||||
category: 'input',
|
||||
category: 'deprecated',
|
||||
color:"Silver",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -18,6 +18,7 @@ var RED = require("../../red/red");
|
||||
|
||||
function SocketIn(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
this.warn("node type deprecated");
|
||||
this.port = n.port;
|
||||
this.topic = n.topic;
|
||||
this.trans = (n.transport||n.trans||"").toLowerCase();
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('socket out',{
|
||||
category: 'output',
|
||||
category: 'deprecated',
|
||||
color:"Silver",
|
||||
defaults: {
|
||||
host: {value:"127.0.0.1",required:true},
|
||||
|
@ -18,6 +18,7 @@ var RED = require("../../red/red");
|
||||
|
||||
function SocketOut(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
this.warn("node type deprecated");
|
||||
this.host = n.host;
|
||||
this.port = n.port * 1;
|
||||
this.name = n.name;
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('multicast in',{
|
||||
category: 'input',
|
||||
category: 'deprecated',
|
||||
color:"Silver",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
@ -103,7 +103,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('multicast out',{
|
||||
category: 'output',
|
||||
category: 'deprecated',
|
||||
color:"Silver",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -20,6 +20,7 @@ var dgram = require('dgram');
|
||||
// The Input Node
|
||||
function MCastIn(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
this.warn("node type deprecated");
|
||||
this.group = n.group;
|
||||
this.port = n.port;
|
||||
this.host = n.host || null;
|
||||
@ -71,6 +72,7 @@ RED.nodes.registerType("multicast in",MCastIn);
|
||||
// The Output Node
|
||||
function MCastOut(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
this.warn("node type deprecated");
|
||||
this.group = n.group;
|
||||
this.port = n.port;
|
||||
this.host = n.host || null;
|
||||
|
Loading…
Reference in New Issue
Block a user