ORDADriver Protocol Reference
Conforms to | NSObject |
Declared in | ORDADriver.h |
Overview
The ORDADriver protocol is the protocol that all ORDA RDBMS drivers must conform to. Instances of this class are not exposed to API consumers.
Tasks
Properties
-
– scheme
This driver’s URL scheme
required method
Governors
-
– governorForURL:
Generates a governor for a URL
required method
Instance Methods
governorForURL:
Generates a governor for a URL
- (id<ORDAGovernor>)governorForURL:(NSURL *)url
Parameters
- URL
the URL
Return Value
the governor or an error result
Discussion
This generates a driver based on the specified URL. Implementation of this method is driver specific, as are possible non-success codes. Codes should be of the kORDAResultCodeConnectionErrorSubclass subclass.
Declared In
ORDADriver.h
scheme
This driver’s URL scheme
- (NSString *)scheme
Return Value
the scheme
Discussion
This returns the URL scheme that this driver is intended to handle. This method is only intended to be used when registering drivers, something that the API consumer should not need to do.
Declared In
ORDADriver.h