Changeset 1514


Ignore:
Timestamp:
02/14/2012 10:18:55 AM (6 years ago)
Author:
iwallace
Message:

migration methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scenarios/HWshared/HwuDialogSystem/src/uk/ac/hw/lirec/dialogsystem/DialogInterface.java

    r1512 r1514  
    8383         
    8484        /** 
     85         * This should handle any screen blanking etc etc required. 
    8586         * @param migrateTo the IP/address (or some ID?) of the embodiment to migrate to 
    8687         * @param dataToMigrate data to send out to migrate, just keys and values. 
     88         * @return if migration succeeded 
    8789         */ 
    88         public abstract void migrateDataOut(String migrateTo, HashMap<String,String> dataToMigrate); 
     90        public abstract boolean migrateDataOut(String migrateTo, HashMap<String,String> dataToMigrate); 
     91         
     92        /** 
     93         * This should handled whatever's required to migrate in - switching the screen on etc. 
     94         * @param migrateFrom where you want to invite migration from. 
     95         * @return true if migration is happening. 
     96         */ 
     97        public abstract boolean inviteMigrate(String migrateFrom); 
    8998 
    9099} 
Note: See TracChangeset for help on using the changeset viewer.