public abstract class AbstractChannel extends Object implements JtChannel
Abstract channel reference matrix Name Database Integration Mission AdaptorChannel Yes No No ConnectorChannel Yes Yes No DirectorChannel Yes No Yes ActorChannel Yes Yes Yes
For above support list, here are some rules: 1) Request - Response MODE, Client send request 2) Publish - Subscribe MODE, Server send request
For common usage, it should use AdaptorChannel instead of other three types; If you want to send request to third part interface ( API ), you can use ConnectorChannel instead of others.
The left two: ActorChannel & DirectorChannel are Background task in zero ( Job Support ), the difference between them is that whether the channel support Integration.
The full feature of channel should be : ActorChannel
| Constructor and Description |
|---|
AbstractChannel() |
| Modifier and Type | Method and Description |
|---|---|
protected Commercial |
commercial() |
protected io.vertx.up.log.Annal |
getLogger() |
abstract io.vertx.core.Future<Boolean> |
initAsync(JtComponent component,
ActIn request) |
protected Mission |
mission() |
io.vertx.core.Future<Envelop> |
transferAsync(Envelop envelop) |
public io.vertx.core.Future<Envelop> transferAsync(Envelop envelop)
transferAsync in interface JtChannelpublic abstract io.vertx.core.Future<Boolean> initAsync(JtComponent component, ActIn request)
protected io.vertx.up.log.Annal getLogger()
protected Commercial commercial()
protected Mission mission()
Copyright © 2021. All rights reserved.