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, useSessionAuth
Fields inherited from class org.jumpmind.symmetric.transport.AbstractTransportManager
extensionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getDirName
(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) int
sendAcknowledgement
(Node remote, List<IncomingBatch> list, Node local, String securityToken, String registrationUrl) void
writeAcknowledgement
(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, writeMessage
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
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:
sendAcknowledgement
in interfaceITransportManager
- Overrides:
sendAcknowledgement
in classHttpTransportManager
- Throws:
IOException
-
writeAcknowledgement
public void writeAcknowledgement(OutputStream out, Node remote, List<IncomingBatch> list, Node local, String securityToken) throws IOException - Specified by:
writeAcknowledgement
in interfaceITransportManager
- Overrides:
writeAcknowledgement
in classHttpTransportManager
- Throws:
IOException
-
getFilePullTransport
public IIncomingTransport getFilePullTransport(Node remote, Node local, String securityToken, Map<String, String> requestProperties, String registrationUrl) throws IOException- Specified by:
getFilePullTransport
in interfaceITransportManager
- Overrides:
getFilePullTransport
in classHttpTransportManager
- Throws:
IOException
-
getFilePushTransport
public IOutgoingWithResponseTransport getFilePushTransport(Node remote, Node local, String securityToken, String registrationUrl) throws IOException - Specified by:
getFilePushTransport
in interfaceITransportManager
- Overrides:
getFilePushTransport
in classHttpTransportManager
- 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
- Overrides:
getPullTransport
in classHttpTransportManager
- Throws:
IOException
-
getPushTransport
public IOutgoingWithResponseTransport getPushTransport(Node remote, Node local, String securityToken, String registrationUrl) throws IOException - Specified by:
getPushTransport
in interfaceITransportManager
- Overrides:
getPushTransport
in classHttpTransportManager
- Throws:
IOException
-
getDirName
-