|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 | |
|---|---|
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. |
ReplicationResult |
poll(TransportContext ctx,
ReplicationTransaction tx,
List<ReplicationContent> pages)
Poll content from a subscriber. |
| Method Detail |
|---|
boolean canHandle(AgentConfig config)
true if this transport handler can handle the given config.
config - the config
true if this handler can handle the uri
ReplicationResult deliver(TransportContext ctx,
ReplicationTransaction tx)
throws ReplicationException
ctx - transport contexttx - the replication transaction
ReplicationException - if an error occurs.
ReplicationResult poll(TransportContext ctx,
ReplicationTransaction tx,
List<ReplicationContent> pages)
throws ReplicationException
ctx - transport contextlog - replication log
ReplicationException - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||