Search in sources :

Example 1 with HttpOutgoingTransport

use of org.jumpmind.symmetric.transport.http.HttpOutgoingTransport in project symmetric-ds by JumpMind.

the class SymmetricPushClient method open.

public void open() {
    try {
        transport = new HttpOutgoingTransport(new URL(buildUrl()), 30000, true, 0, -1, null, null, false, -1, false);
        writer = new ProtocolDataWriter(nodeId, transport.openWriter(), false);
        writer.start(batch);
    } catch (Exception ex) {
        throw new IoException(ex);
    }
}
Also used : ProtocolDataWriter(org.jumpmind.symmetric.io.data.writer.ProtocolDataWriter) HttpOutgoingTransport(org.jumpmind.symmetric.transport.http.HttpOutgoingTransport) IoException(org.jumpmind.exception.IoException) URL(java.net.URL) IOException(java.io.IOException) IoException(org.jumpmind.exception.IoException)

Aggregations

IOException (java.io.IOException)1 URL (java.net.URL)1 IoException (org.jumpmind.exception.IoException)1 ProtocolDataWriter (org.jumpmind.symmetric.io.data.writer.ProtocolDataWriter)1 HttpOutgoingTransport (org.jumpmind.symmetric.transport.http.HttpOutgoingTransport)1