public interface ReplicationReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
receive(Session session,
ReplicationAction action,
java.io.InputStream in,
long size,
java.io.Writer out)
Receives a durbo replication and performs the respective actions.
|
void |
receive(Session session,
ReplicationAction action,
java.io.InputStream in,
long size,
java.io.Writer out,
boolean install)
Receives a durbo replication and performs the respective actions.
|
void |
receive(Session session,
ReplicationAction action,
java.io.InputStream in,
long size,
java.io.Writer out,
boolean install,
boolean binaryLess)
Receives a durbo replication and performs the respective actions.
|
void receive(Session session, ReplicationAction action, java.io.InputStream in, long size, java.io.Writer out) throws ReplicationException, java.io.IOException
session - repository session to use for importingaction - the replication action to performin - input stream of the durbo serialized datasize - size of the input streamout - a writer used for response messagesReplicationException - of an error occurrsjava.io.IOException - if an I/O error occurs while writing to the writervoid receive(Session session, ReplicationAction action, java.io.InputStream in, long size, java.io.Writer out, boolean install) throws ReplicationException, java.io.IOException
session - repository session to use for importingaction - the replication action to performin - input stream of the durbo serialized datasize - size of the input streamout - a writer used for response messagesinstall - if action is ACTIVATE this controls if a package should be also installedReplicationException - of an error occurrsjava.io.IOException - if an I/O error occurs while writing to the writervoid receive(Session session, ReplicationAction action, java.io.InputStream in, long size, java.io.Writer out, boolean install, boolean binaryLess) throws ReplicationException, java.io.IOException
session - repository session to use for importingaction - the replication action to performin - input stream of the durbo serialized datasize - size of the input streamout - a writer used for response messagesinstall - if action is ACTIVATE this controls if a package should be also installedbinaryLess - if receiver has to handle binary less importsReplicationException - of an error occurrsjava.io.IOException - if an I/O error occurs while writing to the writerCopyright © 2010 - 2023 Adobe. All Rights Reserved