Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/interfaces
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8830/src/net/sf/magicmap/client/interfaces
Modified Files:
FetchPositionsCallback.java ServerPollerListener.java
Log Message:
Bugfixes f. schnellen Kartenwechsel
Geopositionen implementiert
Index: FetchPositionsCallback.java
===================================================================
RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/interfaces/FetchPositionsCallback.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FetchPositionsCallback.java 11 May 2005 10:51:28 -0000 1.3
--- FetchPositionsCallback.java 26 Feb 2006 10:20:57 -0000 1.4
***************
*** 5,8 ****
--- 5,10 ----
package net.sf.magicmap.client.interfaces;
+ import net.sf.magicmap.server.dto.GeoPointDTO;
+ import net.sf.magicmap.server.dto.MapDTO;
import net.sf.magicmap.server.dto.PositionDTO;
***************
*** 12,18 ****
public interface FetchPositionsCallback {
! public void positionsFetched(PositionDTO[] positions);
! public void positionFetchError(Exception e);
}
\ No newline at end of file
--- 14,42 ----
public interface FetchPositionsCallback {
! /**
! * Wird aufgerufen wenn neue Positionen übermittelt wurden.
! * @param positions - the neuen Positionen
! */
! public void positionsFetched(PositionDTO[] positions);
! /**
! * Is called if new geo points have been transmitted
! * @param geoPoints
! */
! // public void geoPointsFetched(GeoPointDTO[] geoPoints);
!
! public void positionFetchError(Exception e);
!
! /**
! * Is called, when the server has fetched the MapDTOs from the server
! * @param mapDTOs
! */
! public void mapsFetched(MapDTO[] mapDTOs);
!
! /**
! * Is called when the server has fetched the GeoPointDTOs from the server
! * @param geoPoses
! */
! public void geoPointsFetches(GeoPointDTO[] geoPoses);
}
\ No newline at end of file
Index: ServerPollerListener.java
===================================================================
RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/interfaces/ServerPollerListener.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ServerPollerListener.java 11 May 2005 10:51:28 -0000 1.3
--- ServerPollerListener.java 26 Feb 2006 10:20:57 -0000 1.4
***************
*** 5,8 ****
--- 5,10 ----
package net.sf.magicmap.client.interfaces;
+ import net.sf.magicmap.server.dto.GeoPointDTO;
+ import net.sf.magicmap.server.dto.MapDTO;
import net.sf.magicmap.server.dto.PositionDTO;
***************
*** 29,34 ****
public PositionDTO[] getPositionsForMapSince(long sessionId, String mapName, long timeStamp) throws RemoteException;
*/
! public void positionCreatedOrUpdatedOrDeleted(PositionDTO position);
}
\ No newline at end of file
--- 31,49 ----
public PositionDTO[] getPositionsForMapSince(long sessionId, String mapName, long timeStamp) throws RemoteException;
*/
+
+ public void positionCreatedOrUpdatedOrDeleted(PositionDTO position);
! /**
! *
! * @param mapDTO
! */
! public void mapCreatedOrUpdatedOrDeleted(MapDTO mapDTO);
!
! /**
! * @param pointDTO
! */
! public void geoPosCreatedOrUpdatedOrDeleted(GeoPointDTO pointDTO);
!
! // public void geoPointCreatedOrUpdatedOrDeleted(GeoPointDTO geoPoint);
}
\ No newline at end of file
|