Difference between revisions of "Adapter"

From DocDataFlow
Jump to: navigation, search
 
(21 intermediate revisions by one user not shown)
Line 1: Line 1:
= Adapter =
+
An adapter is a processing unit which (in most cases) has an input connection and an output connection.
  
A basic adapter is a processing unit which has at least an input connection, and an output connection.
+
Data flows through an adapter in the shape of [[Granule|''granules'']].
  
[File:Adapter.png|400px]
+
The adapter accepts [[Granule|''granules'']] through its input connection, and emits [[Granule|''granules'']] through its output connection.
 +
 
 +
[[File:Adapter.png|800px]]
 +
 
 +
Some adapters have additional output connections - e.g. a [[Splitter|''splitter'']] is an adapter which connects to many output adapters.
 +
 
 +
Some adapters might not produce any output, and act as a sink. They might be collating their input data into a common data pool, where it can be picked up later by another adapter, or they might be sending the data they receive it to the outside world, and have no need to pass it on to an adapter further in the chain.
 +
 
 +
= Atomic Adapters and Composite Adapters =
 +
 
 +
A first way to classify adapters is by looking whether they are composed of sub-adapters or not: [[Atomic adapter|''atomic adapters'']] versus [[Composite Adapter|''composite adapters'']].
 +
 
 +
=Base Adapter Types=
 +
 
 +
Below some more basic adapter types, which serve as the basis for the real adapters that are used in the [[Personality|''personality'']].
 +
 
 +
[[Adapter Chain]]
 +
 
 +
[[Assembler]]
 +
 
 +
[[Debug Monitor]]
 +
 
 +
[[Disassembler]]
 +
 
 +
[[Exporter]]
 +
 
 +
[[Filter]]
 +
 
 +
[[Output]]
 +
 
 +
[[Processor]]
 +
 
 +
[[Selector]]
 +
 
 +
[[Splitter]]
 +
 
 +
[[Scripted]]

Latest revision as of 05:55, 30 December 2013

An adapter is a processing unit which (in most cases) has an input connection and an output connection.

Data flows through an adapter in the shape of granules.

The adapter accepts granules through its input connection, and emits granules through its output connection.

Adapter.png

Some adapters have additional output connections - e.g. a splitter is an adapter which connects to many output adapters.

Some adapters might not produce any output, and act as a sink. They might be collating their input data into a common data pool, where it can be picked up later by another adapter, or they might be sending the data they receive it to the outside world, and have no need to pass it on to an adapter further in the chain.

Atomic Adapters and Composite Adapters

A first way to classify adapters is by looking whether they are composed of sub-adapters or not: atomic adapters versus composite adapters.

Base Adapter Types

Below some more basic adapter types, which serve as the basis for the real adapters that are used in the personality.

Adapter Chain

Assembler

Debug Monitor

Disassembler

Exporter

Filter

Output

Processor

Selector

Splitter

Scripted