close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
- Timestamp:
-
Mar 23, 2009, 1:24:34 PM (18 years ago)
- Author:
-
irina
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v3
|
v4
|
|
| 32 | 32 | El modo de transfrencia lo determina por la extensión del la variable str_PathImagen: .mcast o .torrent |
| 33 | 33 | |
| 34 | | Para restaurar desde la cache usamos la misma función salvo que ponemos como ip del servidor la propia del equipo. |
| 35 | 34 | |
| 36 | | {{{ |
| 37 | | DeployPartitionFromImage int_disk int_part str_IPrepository str_PathReporitory str_PathImagen |
| 38 | | }}} |
| 39 | | |
| 40 | | El cliente solicita un UpdateCache, y luego un RestoreImageFromPartition |
| 41 | 35 | |
| 42 | 36 | == Trabajando con la Cache. == |
| … |
… |
|
| 66 | 60 | === Restaurando desde la Cache. === |
| 67 | 61 | |
| 68 | | Encontramos dos funciones. |
| | 62 | Para restaurar desde la cache usamos la misma función RestorePartitionFromImage salvo que ponemos como ip del servidor la propia del equipo o utilizar la siguiente función: |
| 69 | 63 | |
| 70 | | La básica es la que usamos para restaurar imágenes normalmente, comprueba si la ip del servidor coincide con la ip del cliente y entonces utiliza la cache. |
| | 64 | {{{ |
| | 65 | DeployPartitionFromImage int_disk int_part str_IPrepository str_PathReporitory str_PathImagen |
| | 66 | }}} |
| 71 | 67 | |
| 72 | | RestorePartitionFromImage int_disk int_part str_IPrepository str_PathReporitory str_PathImagen |
| 73 | | |
| 74 | | donde str_IPrepository = IPcliente |
| 75 | | |
| 76 | | |
| 77 | | |
| 78 | | |
| 79 | | |
| 80 | | |
| 81 | | |
| 82 | | ¿Si se restaura y existe cache hay opción de que priemro la ponga en |
| 83 | | Actualizando la Cache |
| | 68 | El función realiza un UpdateCache y luego un RestoreImageFromPartition |