--- /dev/null
+package and.hpcvm ;
+
+import java.io.Serializable;
+import java.rmi.RemoteException;
+
+
+public class SaveNeighbor implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+ private ServicesClient sc ;
+ private String ip ;
+ private String name ;
+ private String wd ;
+
+ public SaveNeighbor( ServicesClient _sc ) throws RemoteException
+ {
+ super() ;
+
+ sc = _sc ;
+ try {
+ ip = sc.getIPHost() ;
+ name = sc.getName() ;
+ wd = sc.getWorkingDirectory() ;
+ } catch( RemoteException e ) {
+ System.err.println( "Unable to retrieve inforation one save neighbor!" ) ;
+ e.printStackTrace() ;
+ }
+ }
+
+ protected String getIPHost() { return ip ; }
+
+ protected String getName() { return name ; }
+
+ protected String getWorkingDirectory() { return wd ; }
+
+ protected ServicesClient getStub() { return sc ; }
+
+}
\ No newline at end of file