else {
throw new IllegalArgumentException("Profile has unknown synchronization type.");
}
try {
ConnectionDescription srcDesc = profile.getSource();
ConnectionDescription dstDesc = profile.getDestination();
if (interactive) {
srcDesc.setParameter("interactive", "true");
dstDesc.setParameter("interactive", "true");
}
d1 = fsm.createConnection(srcDesc);
d2 = fsm.createConnection(dstDesc);
return execute(d1, d2, actionDecider, rules);
}