Package com.day.cq.replication
Interface PollingTransportHandler
public interface PollingTransportHandler
Transport handler that supports polling of modified content that should be
reverse replicated.
-
Method Summary
Modifier and TypeMethodDescriptionpoll(TransportContext ctx, ReplicationTransaction tx, ReplicationContentFactory factory) Poll modified content from the transport handler.
-
Method Details
-
poll
ReverseReplication[] poll(TransportContext ctx, ReplicationTransaction tx, ReplicationContentFactory factory) throws ReplicationException Poll modified content from the transport handler.- Parameters:
ctx- transport contexttx- replication transactionfactory- replication content factory- Returns:
- modified content
- Throws:
ReplicationException- if a replication error occursTransportException- if the underlying transport receives an unexpected answer
-