GRPC Objective-C  1.26.0
Instance Methods | Class Methods | Properties
GRPCChannelConfiguration Class Reference

Signature for the channel. More...

#import <GRPCChannel.h>

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(nullable instancetype) - initWithHost:callOptions:
 

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

NSString * host
 The host that this channel is connected to. More...
 
GRPCCallOptionscallOptions
 Options of the corresponding call. More...
 
id< GRPCChannelFactorychannelFactory
 Acquire the factory to generate a new channel with current configurations. More...
 
NSDictionary * channelArgs
 Acquire the dictionary of channel args with current configurations. More...
 

Detailed Description

Signature for the channel.

If two channel's signatures are the same and connect to the same remote, they share the same underlying GRPCChannel object.

Method Documentation

◆ initWithHost:callOptions:()

- (nullable instancetype) initWithHost: (NSString *)  host
callOptions: (GRPCCallOptions *)  NS_DESIGNATED_INITIALIZER 

◆ NS_UNAVAILABLE() [1/2]

- (instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE() [2/2]

+ (instancetype) NS_UNAVAILABLE

Property Documentation

◆ callOptions

- (GRPCCallOptions*) callOptions
readatomicassign

Options of the corresponding call.

Note that only the channel-related options are of interest to this class.

◆ channelArgs

- (NSDictionary*) channelArgs
readatomiccopy

Acquire the dictionary of channel args with current configurations.

◆ channelFactory

- (id<GRPCChannelFactory>) channelFactory
readatomicassign

Acquire the factory to generate a new channel with current configurations.

◆ host

- (NSString*) host
readatomiccopy

The host that this channel is connected to.


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