Agent Transfer I
Initiating agent transfer:
- create trip request;
- suspend agent thread;
- identify portions of agent’s state to be transferred;
- serialize agent’s class and state variables;
- encode serialized agent using transport protocol (many may be defined);
- transfer agent;
- destroy agent locally if transfer successful, continue otherwise.