1 | noflo = require 'noflo'
|
2 |
|
3 | class Drop extends noflo.Component
|
4 | description: 'This component drops every packet it receives with no
|
5 | action'
|
6 | icon: 'trash-o'
|
7 |
|
8 | constructor: ->
|
9 | @inPorts = new noflo.InPorts
|
10 | in:
|
11 | datatypes: 'all'
|
12 | description: 'Packet to be dropped'
|
13 | @outPorts = new noflo.OutPorts
|
14 |
|
15 | exports.getComponent = -> new Drop
|