Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IpfsTopology
    • FakeTopology

Index

Constructors

constructor

  • new FakeTopology(ipfs: IpfsApi, ceramicNetwork: string, logger: DiagnosticsLogger, period?: number): FakeTopology
  • Parameters

    • ipfs: IpfsApi
    • ceramicNetwork: string
    • logger: DiagnosticsLogger
    • Optional period: number

    Returns FakeTopology

Properties

Readonly ceramicNetwork

ceramicNetwork: string

intervalId

intervalId: any

Readonly ipfs

ipfs: IpfsApi

Readonly logger

logger: DiagnosticsLogger

Readonly period

period: number

Methods

connect

  • connect(peerList: Array<string>): Promise<void>
  • Parameters

    • peerList: Array<string>

    Returns Promise<void>

forceConnection

  • forceConnection(): Promise<void>

start

  • start(): Promise<void>

stop

  • stop(): void