*/
public void put(Object a) {
try {
port.send(channel, (Token) a);
} catch (IllegalActionException ex) {
throw new CalIOException("Could not send token.", ex);
} catch (NoRoomException ex) {
throw new CalIOException("No room for sending token.", ex);
} catch (ClassCastException ex) {
throw new CalIOException("Token not of valid token type.", ex);
}
}