* @param agent The agent to jump start.
* @throws IOException
*/
public void jumpStart(IAgentopiaAgent agent) throws IOException {
IAgentopiaConnection comm = createDirectConnection(this.hostId, AgentopiaConstants.HEADER_AGENT);
int intFlag = comm.readInt();
if (AgentopiaConstants.HEADER_AGENT != intFlag) {
throw new IOException("HEADER_AGENT flag expected as affirmation.");
}
comm.transferMe(agent);
comm.shutDown();