Package com.day.cq.replication
Interface TransportHandler
public interface TransportHandler
The
TransportHandler is used to transport the replication
to the target host. A transport handler is created by a corresponding
TransportHandler.-
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(AgentConfig config) Returnstrueif this transport handler can handle the given config.Delivers content to a subscriber.
-
Method Details
-
canHandle
Returnstrueif this transport handler can handle the given config.- Parameters:
config- the config- Returns:
trueif this handler can handle the uri
-
deliver
ReplicationResult deliver(TransportContext ctx, ReplicationTransaction tx) throws ReplicationException Delivers content to a subscriber.- Parameters:
ctx- transport contexttx- the replication transaction- Returns:
- the replication result of this operation.
- Throws:
ReplicationException- if an error occurs.
-