Red5Pro IOS Client SDK  4.6.0
Core SDK for IOS
R5Connection Class Reference

The main connection class for R5Pro. This establishes the connection to the server. Used by R5Stream as the communication layer. More...

#import <R5Connection.h>

Inherits NSObject.

Instance Methods

(id) - initWithConfig:
 
(void) - call:withReturn:withParam:
 
(void) - connectToSharedObject:
 
(void) - sharedObjectSend:
 
(client_ctx *) - context
 

Properties

R5Configurationconfig
 

Detailed Description

The main connection class for R5Pro. This establishes the connection to the server. Used by R5Stream as the communication layer.

Method Documentation

- (void) call: (NSString *)  method
withReturn: (NSString *)  returnMethod
withParam: (NSString *)  param 

Make a connection call RPC to the server

Parameters
methodMethod name to call
returnMethodReturn method name. "void" if no return
paramParameter to send for this method
- (client_ctx*) context

Get the connection context associated with this context

Returns
A client connection context.
- (id) initWithConfig: (R5Configuration *)  configuration

Initialize the connection with the configuration

Parameters
configThe configuration of the connection
Returns
a new connection

Property Documentation

- (R5Configuration*) config
readatomicassign

The configuration for this connection


The documentation for this class was generated from the following file: