Skip to main content

connect_and_login_channel

Function connect_and_login_channel 

Source
pub async fn connect_and_login_channel(
    address_plan: &ChannelAddressPlan,
    push_cb: PushCallback,
    protocol_identity: BackendProtocolIdentity,
    phase: TcpLoginSessionPhase,
    channel_label: &'static str,
    driver: &impl ChannelLoginDriver,
) -> Result<ChannelConnectLoginSuccess, ChannelConnectLoginFailure>
Expand description

Execute the shared Platform/Broker redirect and backup-port login lifecycle.

Ref: FTlogin/login/logger.cpp:392-438,850-900 and FTNet/channel/impl/connector.cpp:108-172.