...
The wrapper can also be used at sink side, i.e. to send data from Odysseus to other systems. In this case, the information is send from the datahandler via the protocol handler to the transport handler. Each handler can provide both ways, i.e. retrieving and sending of data but is not required to. So some handler may only be used in sources, while other only in sinks.
Code Block | ||
---|---|---|
| ||
public ITransportHandler createInstance(IProtocolHandler<?> protocolHandler, Map<String, String> options); |
This document explains how to write new wrappers using this generic wrappers.
...
Independent of Push/Pull
Code Block | ||
---|---|---|
| ||
public ITransportHandler createInstance(IProtocolHandler<?> protocolHandler, Map<String, String> options); |
This method must return a new initialized transport handler.
Source-Generic PUll
Source-Generic Push
Sink-Generic Pull
Sink-Generic Push
OSGi, Registering, Declarative service
Creating a new Protocol Handler