Package org.locationtech.geogig.web.api.commands

Examples of org.locationtech.geogig.web.api.commands.PushManager


                    // Abort push
                    w.write("Push aborted for address: " + ipAddress
                            + ". The ref was changed during push.");
                    w.flush();
                } else {
                    PushManager pushManager = PushManager.get();
                    pushManager.connectionSucceeded(geogig, ipAddress, refspec, oid);
                    w.write("Push succeeded for address: " + ipAddress);
                    w.flush();
                }
            } catch (Exception e) {
                Throwables.propagateIfInstanceOf(e, IOException.class);
View Full Code Here


            // make a combined ip address to handle requests from multiple machines in the same
            // external network.
            // e.g.: ext.ern.al.IP.int.ern.al.IP
            String ipAddress = info.getAddress() + "." + options.getFirstValue("internalIp", "");
            PushManager pushManager = PushManager.get();
            pushManager.connectionBegin(ipAddress);
            w.write("Push began for address: " + ipAddress);
            w.flush();
        }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.web.api.commands.PushManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.