Class InternalTransportManager
java.lang.Object
org.jumpmind.symmetric.transport.AbstractTransportManager
org.jumpmind.symmetric.transport.internal.InternalTransportManager
- All Implemented Interfaces:
ITransportManager
Coordinates interaction between two symmetric engines in the same JVM.
-
Field Summary
FieldsFields inherited from class org.jumpmind.symmetric.transport.AbstractTransportManager
extensionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBandwidthPushTransport
(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) getComparePullTransport
(Node remote, Node local, String securityToken, String registrationUrl, Map<String, String> requestParameters) getComparePushTransport
(Node remote, Node local, String securityToken, String registrationUrl, Map<String, String> requestParameters) getConfigTransport
(Node remote, Node local, String securityToken, String symmetricVersion, String configVersion, String registrationUrl) getFilePullTransport
(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) getFilePushTransport
(Node targetNode, Node sourceNode, String securityToken, String registrationUrl) getPingTransport
(Node remote, Node local, String registrationUrl) getPullTransport
(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) getPushTransport
(Node targetNode, Node sourceNode, String securityToken, String registrationUrl) getPushTransport
(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) getRegisterPushTransport
(Node remote, Node local) getRegisterTransport
(Node client, String registrationUrl) int
sendAcknowledgement
(Node remote, List<IncomingBatch> list, Node local, String securityToken, String registrationUrl) int
sendAcknowledgement
(Node remote, List<IncomingBatch> list, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) int
sendCopyRequest
(Node local) int
sendStatusRequest
(Node local, Map<String, String> statuses) void
writeAcknowledgement
(OutputStream out, Node remote, List<IncomingBatch> list, Node local, String securityToken) Methods inherited from class org.jumpmind.symmetric.transport.AbstractTransportManager
append, getAcknowledgementData, getParametersFromQueryUrl, readAcknowledgement, readAcknowledgement, readAcknowledgement, readRequestProperties, resolveURL, writeRequestProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jumpmind.symmetric.transport.ITransportManager
readAcknowledgement, readRequestProperties, resolveURL, writeRequestProperties
-
Field Details
-
symmetricEngine
-
-
Constructor Details
-
InternalTransportManager
-
-
Method Details
-
getFilePullTransport
public IIncomingTransport getFilePullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getFilePullTransport
in interfaceITransportManager
- Throws:
IOException
-
getPullTransport
public IIncomingTransport getPullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getPullTransport
in interfaceITransportManager
- Throws:
IOException
-
getPingTransport
public IIncomingTransport getPingTransport(Node remote, Node local, String registrationUrl) throws IOException - Specified by:
getPingTransport
in interfaceITransportManager
- Throws:
IOException
-
getPushTransport
public IOutgoingWithResponseTransport getPushTransport(Node targetNode, Node sourceNode, String securityToken, String registrationUrl) throws IOException - Specified by:
getPushTransport
in interfaceITransportManager
- Throws:
IOException
-
getPushTransport
public IOutgoingWithResponseTransport getPushTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getPushTransport
in interfaceITransportManager
- Throws:
IOException
-
getFilePushTransport
public IOutgoingWithResponseTransport getFilePushTransport(Node targetNode, Node sourceNode, String securityToken, String registrationUrl) throws IOException - Specified by:
getFilePushTransport
in interfaceITransportManager
- Throws:
IOException
-
getRegisterTransport
public IIncomingTransport getRegisterTransport(Node client, String registrationUrl) throws IOException - Specified by:
getRegisterTransport
in interfaceITransportManager
- Throws:
IOException
-
getRegisterTransport
public IIncomingTransport getRegisterTransport(Node client, String registrationUrl, Map<String, String> requestProperties) throws IOException- Specified by:
getRegisterTransport
in interfaceITransportManager
- Throws:
IOException
-
getRegisterPushTransport
public IOutgoingWithResponseTransport getRegisterPushTransport(Node remote, Node local) throws IOException - Specified by:
getRegisterPushTransport
in interfaceITransportManager
- Throws:
IOException
-
sendCopyRequest
- Specified by:
sendCopyRequest
in interfaceITransportManager
- Throws:
IOException
-
sendStatusRequest
- Specified by:
sendStatusRequest
in interfaceITransportManager
- Throws:
IOException
-
sendAcknowledgement
public int sendAcknowledgement(Node remote, List<IncomingBatch> list, Node local, String securityToken, String registrationUrl) throws IOException - Specified by:
sendAcknowledgement
in interfaceITransportManager
- Throws:
IOException
-
sendAcknowledgement
public int sendAcknowledgement(Node remote, List<IncomingBatch> list, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
sendAcknowledgement
in interfaceITransportManager
- Throws:
IOException
-
writeAcknowledgement
public void writeAcknowledgement(OutputStream out, Node remote, List<IncomingBatch> list, Node local, String securityToken) throws IOException - Specified by:
writeAcknowledgement
in interfaceITransportManager
- Throws:
IOException
-
getConfigTransport
public IIncomingTransport getConfigTransport(Node remote, Node local, String securityToken, String symmetricVersion, String configVersion, String registrationUrl) throws IOException - Specified by:
getConfigTransport
in interfaceITransportManager
- Throws:
IOException
-
getBandwidthPushTransport
public IOutgoingWithResponseTransport getBandwidthPushTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getBandwidthPushTransport
in interfaceITransportManager
- Throws:
IOException
-
getComparePullTransport
public IIncomingTransport getComparePullTransport(Node remote, Node local, String securityToken, String registrationUrl, Map<String, String> requestParameters) throws IOException- Specified by:
getComparePullTransport
in interfaceITransportManager
- Throws:
IOException
-
getComparePushTransport
public IOutgoingWithResponseTransport getComparePushTransport(Node remote, Node local, String securityToken, String registrationUrl, Map<String, String> requestParameters) throws IOException- Specified by:
getComparePushTransport
in interfaceITransportManager
- Throws:
IOException
-