1 26 27 28 package org.objectweb.mobilitools.smi.api; 29 30 31 import java.io.Serializable ; 32 import org.omg.CORBA.Any ; 33 import org.omg.CfMAF.*; 34 35 36 42 public interface MobileObject extends Serializable 43 { 44 54 public void afterBirth(AgentSystem agency, AgentInfo entry, Object arguments) 55 throws BadOperation; 56 57 67 public void beforeMove(Location location, String place) 68 throws BadOperation; 69 70 81 public void afterMove(AgentSystem agency, Location location, String place) 82 throws BadOperation; 83 84 93 public void afterMoveFailed( 94 Location agency, 95 String place, 96 int reason, 97 String message); 98 99 104 public void beforeDeath(); 105 106 113 public void beforeSuspend() 114 throws BadOperation; 115 116 123 public void beforeResume() 124 throws BadOperation; 125 126 133 public void beforeShutdown(); 134 } 135 | Popular Tags |