public interface TransportHandler
TransportHandler
is used to transport the replication
to the target host. A transport handler is created by a corresponding
TransportHandler
.Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(AgentConfig config)
Returns
true if this transport handler can handle the given config. |
ReplicationResult |
deliver(TransportContext ctx,
ReplicationTransaction tx)
Delivers content to a subscriber.
|
boolean canHandle(AgentConfig config)
true
if this transport handler can handle the given config.config
- the configtrue
if this handler can handle the uriReplicationResult deliver(TransportContext ctx, ReplicationTransaction tx) throws ReplicationException
ctx
- transport contexttx
- the replication transactionReplicationException
- if an error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved