1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.jumpmind.symmetric.transport;
22
23 import java.io.IOException;
24 import java.io.OutputStream;
25 import java.util.List;
26
27 import org.jumpmind.symmetric.model.BatchInfo;
28 import org.jumpmind.symmetric.model.IncomingBatchHistory;
29 import org.jumpmind.symmetric.model.Node;
30
31 public interface ITransportManager {
32
33 public boolean sendAcknowledgement(Node remote, List<IncomingBatchHistory> list, Node local) throws IOException;
34
35 public void writeAcknowledgement(OutputStream out, List<IncomingBatchHistory> list) throws IOException;
36
37 public List<BatchInfo> readAcknowledgement(String parameterString1, String parameterString2) throws IOException;
38
39 public IIncomingTransport getPullTransport(Node remote, Node local) throws IOException;
40
41 public IOutgoingWithResponseTransport getPushTransport(Node remote, Node local) throws IOException;
42
43 public IIncomingTransport getRegisterTransport(Node node) throws IOException;
44
45 }