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) intsendAcknowledgement(Node remote, List<IncomingBatch> list, Node local, String securityToken, String registrationUrl) intsendAcknowledgement(Node remote, List<IncomingBatch> list, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) intsendCopyRequest(Node local) intsendStatusRequest(Node local, Map<String, String> statuses) voidwriteAcknowledgement(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, writeRequestPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getFilePullTransportin interfaceITransportManager- Throws:
IOException
-
getPullTransport
public IIncomingTransport getPullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getPullTransportin interfaceITransportManager- Throws:
IOException
-
getPingTransport
public IIncomingTransport getPingTransport(Node remote, Node local, String registrationUrl) throws IOException - Specified by:
getPingTransportin interfaceITransportManager- Throws:
IOException
-
getPushTransport
public IOutgoingWithResponseTransport getPushTransport(Node targetNode, Node sourceNode, String securityToken, String registrationUrl) throws IOException - Specified by:
getPushTransportin interfaceITransportManager- Throws:
IOException
-
getPushTransport
public IOutgoingWithResponseTransport getPushTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getPushTransportin interfaceITransportManager- Throws:
IOException
-
getFilePushTransport
public IOutgoingWithResponseTransport getFilePushTransport(Node targetNode, Node sourceNode, String securityToken, String registrationUrl) throws IOException - Specified by:
getFilePushTransportin interfaceITransportManager- Throws:
IOException
-
getRegisterTransport
public IIncomingTransport getRegisterTransport(Node client, String registrationUrl) throws IOException - Specified by:
getRegisterTransportin interfaceITransportManager- Throws:
IOException
-
getRegisterTransport
public IIncomingTransport getRegisterTransport(Node client, String registrationUrl, Map<String, String> requestProperties) throws IOException- Specified by:
getRegisterTransportin interfaceITransportManager- Throws:
IOException
-
getRegisterPushTransport
public IOutgoingWithResponseTransport getRegisterPushTransport(Node remote, Node local) throws IOException - Specified by:
getRegisterPushTransportin interfaceITransportManager- Throws:
IOException
-
sendCopyRequest
- Specified by:
sendCopyRequestin interfaceITransportManager- Throws:
IOException
-
sendStatusRequest
- Specified by:
sendStatusRequestin interfaceITransportManager- Throws:
IOException
-
sendAcknowledgement
public int sendAcknowledgement(Node remote, List<IncomingBatch> list, Node local, String securityToken, String registrationUrl) throws IOException - Specified by:
sendAcknowledgementin 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:
sendAcknowledgementin interfaceITransportManager- Throws:
IOException
-
writeAcknowledgement
public void writeAcknowledgement(OutputStream out, Node remote, List<IncomingBatch> list, Node local, String securityToken) throws IOException - Specified by:
writeAcknowledgementin interfaceITransportManager- Throws:
IOException
-
getConfigTransport
public IIncomingTransport getConfigTransport(Node remote, Node local, String securityToken, String symmetricVersion, String configVersion, String registrationUrl) throws IOException - Specified by:
getConfigTransportin interfaceITransportManager- Throws:
IOException
-
getBandwidthPushTransport
public IOutgoingWithResponseTransport getBandwidthPushTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getBandwidthPushTransportin interfaceITransportManager- Throws:
IOException
-
getComparePullTransport
public IIncomingTransport getComparePullTransport(Node remote, Node local, String securityToken, String registrationUrl, Map<String, String> requestParameters) throws IOException- Specified by:
getComparePullTransportin interfaceITransportManager- Throws:
IOException
-
getComparePushTransport
public IOutgoingWithResponseTransport getComparePushTransport(Node remote, Node local, String securityToken, String registrationUrl, Map<String, String> requestParameters) throws IOException- Specified by:
getComparePushTransportin interfaceITransportManager- Throws:
IOException
-