Search Results for

    Show / Hide Table of Contents

    Class BaseHub

    Basic hub integration

    Inheritance
    System.Object
    BaseHub
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Cloud.API
    Assembly: Simplic.Cloud.API.dll
    Syntax
    public abstract class BaseHub : IDisposable

    Constructors

    | Improve this Doc View Source

    BaseHub(String, String, ClientBase)

    Initialize new client.

    Declaration
    public BaseHub(string api, string hubName, ClientBase clientBase)
    Parameters
    Type Name Description
    System.String api
    System.String hubName
    ClientBase clientBase

    Properties

    | Improve this Doc View Source

    Connection

    Gets the HubConnection

    Declaration
    protected HubConnection Connection { get; }
    Property Value
    Type Description
    HubConnection

    Methods

    | Improve this Doc View Source

    ConnectionClosed(Exception)

    Declaration
    public virtual async Task ConnectionClosed(Exception ex)
    Parameters
    Type Name Description
    System.Exception ex
    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    ConnectionReconnected(String)

    Declaration
    public virtual async Task ConnectionReconnected(string arg)
    Parameters
    Type Name Description
    System.String arg
    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    ConnectionReconnecting(Exception)

    Declaration
    public virtual async Task ConnectionReconnecting(Exception ex)
    Parameters
    Type Name Description
    System.Exception ex
    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    Dispose()

    Dispose connection

    Declaration
    public virtual void Dispose()
    | Improve this Doc View Source

    StartAsync()

    Start connection async

    Declaration
    public async Task StartAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx