Package org.jumpmind.symmetric.transport
Class AbstractTransportManager
java.lang.Object
org.jumpmind.symmetric.transport.AbstractTransportManager
- Direct Known Subclasses:
HttpTransportManager
,InternalTransportManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
append
(StringBuilder builder, String name, Object value) protected String
getAcknowledgementData
(boolean requires13Format, String nodeId, List<IncomingBatch> list) getParametersFromQueryUrl
(String parameterString) readAcknowledgement
(String parameterString) readAcknowledgement
(String parameterString1, String parameterString2) readAcknowledgement
(Map<String, ? extends Object> parameters) resolveURL
(String syncUrl, String registrationUrl) Build the url for remote node communication.void
writeRequestProperties
(Map<String, String> requestProperties, OutputStream os)
-
Field Details
-
log
protected final org.slf4j.Logger log -
extensionService
-
-
Constructor Details
-
AbstractTransportManager
public AbstractTransportManager() -
AbstractTransportManager
-
-
Method Details
-
resolveURL
Build the url for remote node communication. Use the remote sync_url first, if it is null or blank, then use the registration url instead. -
getAcknowledgementData
protected String getAcknowledgementData(boolean requires13Format, String nodeId, List<IncomingBatch> list) throws IOException - Throws:
IOException
-
append
-
readAcknowledgement
public List<BatchAck> readAcknowledgement(String parameterString1, String parameterString2) throws IOException - Throws:
IOException
-
readAcknowledgement
- Throws:
IOException
-
readAcknowledgement
-
writeRequestProperties
public void writeRequestProperties(Map<String, String> requestProperties, OutputStream os) throws IOException- Throws:
IOException
-
readRequestProperties
- Throws:
IOException
-
getParametersFromQueryUrl
- Throws:
IOException
-