Class FileTransportManager
java.lang.Object
org.jumpmind.symmetric.transport.AbstractTransportManager
org.jumpmind.symmetric.transport.http.HttpTransportManager
org.jumpmind.symmetric.transport.file.FileTransportManager
- All Implemented Interfaces:
ITransportManager
-
Field Summary
FieldsFields inherited from class org.jumpmind.symmetric.transport.http.HttpTransportManager
engine, sessionIdByUri, useHeaderSecurityToken, useSessionAuthFields inherited from class org.jumpmind.symmetric.transport.AbstractTransportManager
extensionService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetDirName(String paramName, Node localNode) getFilePullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) getFilePushTransport(Node remote, Node local, String securityToken, String registrationUrl) getPullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) getPushTransport(Node remote, Node local, String securityToken, String registrationUrl) intsendAcknowledgement(Node remote, List<IncomingBatch> list, Node local, String securityToken, String registrationUrl) voidwriteAcknowledgement(OutputStream out, Node remote, List<IncomingBatch> list, Node local, String securityToken) Methods inherited from class org.jumpmind.symmetric.transport.http.HttpTransportManager
add, addNodeId, addNodeInfo, buildRegistrationUrl, buildURL, checkForConnectionUpgrade, clearSession, createGetConnectionFor, createGetConnectionFor, getBandwidthPushTransport, getComparePullTransport, getComparePushTransport, getCompressionLevel, getCompressionStrategy, getConfigTransport, getEngine, getHttpConnectTimeOutInMs, getHttpTimeOutInMs, getInputStreamFrom, getOutputStreamSize, getPingTransport, getPushTransport, getReaderFrom, getRegisterPushTransport, getRegisterTransport, getRegisterTransport, getUri, isOutputStreamEnabled, isUseCompression, openConnection, sendAcknowledgement, sendCopyRequest, sendMessage, sendMessage, sendStatusRequest, updateSession, writeMessageMethods 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
getBandwidthPushTransport, getComparePullTransport, getComparePushTransport, getConfigTransport, getPingTransport, getPushTransport, getRegisterPushTransport, getRegisterTransport, getRegisterTransport, readAcknowledgement, readRequestProperties, resolveURL, sendAcknowledgement, sendCopyRequest, sendStatusRequest, writeRequestProperties
-
Field Details
-
parameterService
-
-
Constructor Details
-
FileTransportManager
-
-
Method Details
-
sendAcknowledgement
public int sendAcknowledgement(Node remote, List<IncomingBatch> list, Node local, String securityToken, String registrationUrl) throws IOException - Specified by:
sendAcknowledgementin interfaceITransportManager- Overrides:
sendAcknowledgementin classHttpTransportManager- Throws:
IOException
-
writeAcknowledgement
public void writeAcknowledgement(OutputStream out, Node remote, List<IncomingBatch> list, Node local, String securityToken) throws IOException - Specified by:
writeAcknowledgementin interfaceITransportManager- Overrides:
writeAcknowledgementin classHttpTransportManager- Throws:
IOException
-
getFilePullTransport
public IIncomingTransport getFilePullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getFilePullTransportin interfaceITransportManager- Overrides:
getFilePullTransportin classHttpTransportManager- Throws:
IOException
-
getFilePushTransport
public IOutgoingWithResponseTransport getFilePushTransport(Node remote, Node local, String securityToken, String registrationUrl) throws IOException - Specified by:
getFilePushTransportin interfaceITransportManager- Overrides:
getFilePushTransportin classHttpTransportManager- Throws:
IOException
-
getPullTransport
public IIncomingTransport getPullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getPullTransportin interfaceITransportManager- Overrides:
getPullTransportin classHttpTransportManager- Throws:
IOException
-
getPushTransport
public IOutgoingWithResponseTransport getPushTransport(Node remote, Node local, String securityToken, String registrationUrl) throws IOException - Specified by:
getPushTransportin interfaceITransportManager- Overrides:
getPushTransportin classHttpTransportManager- Throws:
IOException
-
getDirName
-