requireTier

fun <T : RpcService> requireTier(rpcObject: RpcObject<T>, maxTier: ServiceTier, transportName: String)

Verify that rpcObject's RpcObject.serviceTier is at most maxTier. Throws IllegalArgumentException with a descriptive message if the service exceeds the transport's capability.