Project

General

Profile

« Previous | Next » 

Revision 536

Added by berkley over 23 years ago

changed action scheme

View differences:

ReplicationHandler.java
111 111
        
112 112
        update = update.replace(' ', '+');
113 113
        
114
        u = new URL("http://" + server + "?update=" + update);
114
        u = new URL("http://" + server + "?action=update&date=" + update);
115 115
        istream = new InputStreamReader(u.openStream());
116 116
        while((istreamInt = istream.read()) != -1)
117 117
        {
......
137 137
          String docServer = (String)w.elementAt(2);
138 138

  
139 139
          //send a message to the server requesting each document
140
          URL getDocURL = new URL("http://" + docServer + "?getdocument="+
141
                      docid);
140
          URL getDocURL = new URL("http://" + docServer + 
141
                                  "?action=getdocument&docid="+ docid);
142 142
          InputStreamReader getDocIstream = new InputStreamReader(
143 143
                                                getDocURL.openStream());
144 144

  

Also available in: Unified diff