ROProxy Class
From RemObjects Wiki
This is a RemObjects SDK for Xcode Library topic
Please do not modify the page structure, but feel free to modify/add text.
Contents |
Overview
ROProxy is the abstract base class for Proxy classes defined for your services. Proxy objects are used on the client side as call sites for methods on your services, and encapsulate the logic needed for taking the method calls and remoting them to the server.
You will usually not instantiate instances of this class itself, but use the descendant classes from your own Interface files.
Location
RemObjectsSDK/RemObjectsSDK.h
- NSObject
- ROProxy
Class Methods
| proxyWithMessage:channel: |
|---|
|
creates and returns a new proxy object with the given ROMessage and ROClientChannel object.
|
| proxyWithService: |
|
creates and returns a new proxy object with the given RORemoteService object.
|
Instance Methods
| __clientChannel |
|---|
|
for use by RODL-generated code; returns the ROClientChannel reference this proxy will use to communicate with the server.
|
| __getActiveInterfaceName |
|
for use by RODL-generated code; returns the actual service name that will be passed to the server. This may be overriden from the original value in __getInterfaceName if a different service name was configured for the RORemoteService used to initialize the Proxy.
|
| __getInterfaceName |
|
overriden in concrete proxy implementations, this method returns the hard-coded service name associated with this proxy.
|
| __message |
|
for use by RODL-generated code; returns the ROMessage reference this proxy will use to communicate with the server.
|
| initWithMessage:channel: |
|
initializes a new proxy object with the given ROMessage and ROClientChannel object.
|
| initWithService: |
|
initializes a new proxy object with the given RORemoteService object.
|
See Also
- RODL files
- Lists
- RemObjects SDK for Xcode: Protocols – Classes – Enums
- RemObjects SDK shared: Data Types – File Types
- other editions
- RemObjects SDK for .NET: Namespaces – Interfaces – Classes – Enums
- RemObjects SDK for Delphi: Interfaces – Classes – Enums
Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Delphi and Xcode
Glossary — Architecture — Articles — Features — Library — Samples