This function uses theFTransmissionAddress::GetAddressType()method to determine whether the cast is legal. Each subclass ofFTransmissionAddressMUSTprovide a unique address type to protect against invalid casts.