if (director == null) {
throw new IllegalActionException(this,
"Cannot create a receiver without a director.");
}
return director.newReceiver();
}
/** Create a new instance of Transition with the specified name in
* this actor, and return it.
* This method is write-synchronized on the workspace.