|
From: Jonathan L. <le...@us...> - 2006-11-26 23:41:39
|
Update of /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12588/src/edu/harvard/syrah/pyxida/api Modified Files: ExternalAPIIF.java Log Message: part way through inter-node gossip (non-proxy) Index: ExternalAPIIF.java =================================================================== RCS file: /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida/api/ExternalAPIIF.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ExternalAPIIF.java 21 Nov 2006 21:14:59 -0000 1.1 --- ExternalAPIIF.java 26 Nov 2006 23:41:37 -0000 1.2 *************** *** 6,10 **** public interface ExternalAPIIF { ! // Return a coord public Coordinate getCoord(AddressIF node); --- 6,13 ---- public interface ExternalAPIIF { ! /* ! * Returns a coordinate ! * of either a substrate node or a local proxy node ! */ public Coordinate getCoord(AddressIF node); *************** *** 13,20 **** // Create a new proxy coord with a lease ! public void createProxyCoord(AddressIF remoteNode); // Renew proxy coord lease ! public void renewProxyCoord(AddressIF remoteNode); } --- 16,31 ---- // Create a new proxy coord with a lease ! // lease is given in ms ! // lease of 0 will expire in one hour ! public void createProxyCoord(AddressIF remoteNode, long lease); // Renew proxy coord lease ! public void renewProxyCoord(AddressIF remoteNode, long lease); + public void destroyProxyCoord(AddressIF remoteNode); + + // TODO Add routing methods + + // TODO add startup and shutdown either here or to pyxida main + } |