Changeset 2110 for trunk/java-client/org/nzdl/gsdl/ptp
- Timestamp:
- 2001-03-05T11:52:21+13:00 (23 years ago)
- Location:
- trunk/java-client/org/nzdl/gsdl/ptp
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/ptp/HTTP.java
r2109 r2110 51 51 String host; 52 52 int port; 53 intfile;53 String file; 54 54 55 HTTP( int port, String host, String file) {55 HTTP(String host, int port, String file) { 56 56 this.port = port; 57 57 this.host = host; -
trunk/java-client/org/nzdl/gsdl/ptp/Makefile
r2109 r2110 15 15 CLASSFILES=HTTP.class \ 16 16 IOR.class \ 17 P 2P.class \17 PTP.class \ 18 18 Poller.class \ 19 19 Node.class \ -
trunk/java-client/org/nzdl/gsdl/ptp/Poller.java
r2109 r2110 70 70 while (e.hasMoreElements()) { 71 71 String next = (String) e.nextElement(); 72 if (P2P.valid(next)) {72 PTP ptp = (PTP) Locator.parse(next); 73 73 System.err.println("About to create new thread for " + next); 74 74 Connection connection = 75 new Connection( P2P.toHost(next),P2P.toPort(next));75 new Connection(ptp.host,ptp.port); 76 76 System.err.println("About to start new thread"); 77 77 connection.run(); … … 84 84 } 85 85 System.err.println("Joined with new thread"); 86 87 }86 } 87 88 88 } 89 90 89 90 /** 91 91 * Tests... 92 92 *
Note:
See TracChangeset
for help on using the changeset viewer.