public static function create($type, $serverUrl, $isNotification = false)
{
if (($_handler = constant('TRpcClientTypesEnumerable::' . strtoupper($type))) === null) {
throw new TApplicationException('rpcclient_unsupported_handler');
}
return new $_handler($serverUrl, $isNotification);
}