ROMessage 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
ROMessage is the abstract base class for Message implementations in RemObjects SDK for Xcode.
You will usually not instantiate instances of this class itself, but use the descendant classes such as ROBinMessage.
Location
RemObjectsSDK/RemObjectsSDK.h
- NSObject
- ROMessage
Properties
| channel retain |
|---|
|
Contains the Client ID for the message. Client IDs are used by the RemObjects SDK for Session Management and to uniquely identify individual client on the server. Generally, you will not need to assign or read this value; the framework will automatically create a new unique client ID whenever a message object is instantiated on the client. However, you do have the option to read and write the ClientID property manually, for example to persist a specific client ID between shutdown and restart of your application. |
| clientID retain |
|
|
| contentType readonly retain |
|
A collection of optional Message Envelopes configured for this message. |
| envelopes readonly |
|
|
| interfaceName copy |
|
|
| libraryName copy |
|
|
| messageName copy |
|
|
| messageType readonly |
|
|
Class Methods
| message |
|---|
|
Creates and returns a new instance of the message class.
|
| setUseSingleClientID: |
|
|
| useSingleClientID |
|
|
Instance Methods
| beginReadObjectWithName:asClass: |
|---|
|
|
| beginWriteObject:withName: |
|
|
| clear |
|
|
| clearAttributes |
|
|
| createExceptionWithClassName:message: |
|
|
| doGetNSData |
|
|
| doReadException: |
|
|
| doReadFromNSData: |
|
|
| doReadObject:withName: |
|
|
| doWriteObject:withName: |
|
|
| endReadObject:withName: |
|
|
| endWriteObject:withName: |
|
|
| finalizeMessage |
|
|
| getAtttributeValue: |
|
|
| getNSData |
|
|
| initializeAsRequestMessage:libraryName:interfaceName:messageName: |
|
|
| initializeMessage:libraryName:interfaceName:messageName:messageType: |
|
|
| processException |
|
|
| readAnsiString |
|
|
| readAnsiStringWithName: |
|
|
| readByte |
|
|
| readException |
|
|
| readFromNSData: |
|
|
| readUtf8String |
|
|
| readUtf8StringWithName: |
|
|
| readWideString |
|
|
| readWideStringWithName: |
|
|
| setupAttributes: |
|
|
| useStrictFieldOrderForStructs |
|
|
| writeToNSData: |
|
|
See Also
- Messages
- 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