DefaultFailoverStrategy Class Reference

Inherits from NSObject
Conforms to FailoverStrategy
Declared in DefaultFailoverStrategy.h
DefaultFailoverStrategy.m

Overview

Default implementation of FailoverStrategy.

– onRecoverWithConnectionInfo:

Needs to be invoked once client recovered after failover.

- (void)onRecoverWithConnectionInfo:(id<TransportConnectionInfo>)connectionInfo

Parameters

connectionInfo

server information

Discussion

Needs to be invoked once client recovered after failover.

Declared In

FailoverStrategy.h

– decisionOnFailoverStatus:

Needs to be invoked to determine a decision that resolves the failover.

- (FailoverDecision *)decisionOnFailoverStatus:(FailoverStatus)status

Parameters

failoverStatus

current status of the failover.

Return Value

decision which is meant to resolve the failover.

Discussion

Needs to be invoked to determine a decision that resolves the failover.

Declared In

FailoverStrategy.h