Packages

trait IServerConnection extends ILogger

Connection, server modules use to communicate to the clients.

Linear Supertypes
ILogger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IServerConnection
  2. ILogger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def content(fullPath: String): Future[String]

    File contents by full path/url.

  2. abstract def debug(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG severity message.

    Logs a DEBUG severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  3. abstract def debugDetail(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG_DETAIL severity message.

    Logs a DEBUG_DETAIL severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  4. abstract def debugOverview(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG_OVERVIEW severity message.

    Logs a DEBUG_OVERVIEW severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  5. abstract def detailsAvailable(report: IDetailsReport): Unit

    Reports new calculated details when available.

    Reports new calculated details when available.

    report

    - details report.

  6. abstract def displayActionUI(uiDisplayRequest: IUIDisplayRequest): Future[Any]

    Adds a listener to display action UI.

    Adds a listener to display action UI.

    uiDisplayRequest

    - display request

    returns

    final UI state.

  7. abstract def error(message: String, component: String, subcomponent: String): Unit

    Logs an ERROR severity message.

    Logs an ERROR severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  8. abstract def exists(path: String): Future[Boolean]

    Returns whether path/url exists.

  9. abstract def isDirectory(path: String): Future[Boolean]

    Returns whether path/url represents a directory

  10. abstract def log(message: String, severity: common.logger.MessageSeverity.Value, component: String, subcomponent: String): Unit

    Logs a message

    Logs a message

    message

    - message text

    severity

    - message severity

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  11. abstract def onAllEditorContextActions(listener: () ⇒ Future[Seq[IExecutableAction]], unsubscribe: Boolean = false): Unit

    Calculates the list of all available executable actions.

    Calculates the list of all available executable actions.

    listener

    () => Future[Seq[IExecutableAction] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  12. abstract def onCalculateEditorContextActions(listener: (String, Int) ⇒ Future[Seq[IExecutableAction]], unsubscribe: Boolean = false): Unit

    Calculates the list of executable actions available in the current context.

    Calculates the list of executable actions available in the current context.

    listener

    (uri: string, position?: number) => Future[Seq[IExecutableAction] ]. Position is optional, -1 if not available.

    unsubscribe

    - if true, existing listener will be removed. False by default.

  13. abstract def onChangeDetailValue(listener: (String, Int, String, AnyVal) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean = false): Unit

    Adds a listener to document details value change request.

    Adds a listener to document details value change request.

    listener

    (uri: String, position: Int, itemID: String, value: String | Int | Boolean) => Future[Seq[IChangedDocument] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  14. abstract def onChangeDocument(listener: (IChangedDocument) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document change notification.

    Adds a listener to document change notification. Must notify listeners in order of registration.

    listener

    (document: IChangedDocument) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

  15. abstract def onChangePosition(listener: (String, Int) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document cursor position change notification.

    Adds a listener to document cursor position change notification. Must notify listeners in order of registration.

    listener

    (uri: string, position: number) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

  16. abstract def onCloseDocument(listener: (String) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document close notification.

    Adds a listener to document close notification. Must notify listeners in order of registration.

    listener

    (uri: String) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

  17. abstract def onDocumentCompletion(listener: (String, Int) ⇒ Future[Seq[ISuggestion]], unsubscribe: Boolean = false): Unit

    Adds a listener to document completion request.

    Adds a listener to document completion request. Must notify listeners in order of registration.

    listener

    (uri: String, position: Int) => Future[Seq[Suggestion] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  18. abstract def onDocumentDetails(listener: (String, Int) ⇒ Future[IDetailsItem], unsubscribe: Boolean = false): Unit

    Adds a listener to document details request.

    Adds a listener to document details request. Must notify listeners in order of registration.

    listener

    (uri: String, position: Int) => Future[DetailsItemJSON]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  19. abstract def onDocumentStructure(listener: (String) ⇒ Future[Map[String, StructureNodeJSON]], unsubscribe: Boolean = false): Unit

    Adds a listener to document structure request.

    Adds a listener to document structure request. Must notify listeners in order of registration.

    listener

    (uri: String) => Future[Map[String, StructureNodeJSON] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  20. abstract def onExecuteContextAction(listener: (String, String, Int) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean): Unit

    Adds a listener for specific action execution.

    Adds a listener for specific action execution.

    listener

    (uri: string, actionId: string, position?: number). Position is optional, -1 if not available.

    unsubscribe

    - if true, existing listener will be removed. False by default.

  21. abstract def onExecuteDetailsAction(listener: (String, String, Int) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean = false): Unit

    Adds a listener for specific details action execution.

    Adds a listener for specific details action execution.

    listener

    (uri: string, actionId: string, position: number) => Future[Seq[IChangedDocument] ]. Position is optional, -1 if not available.

    unsubscribe

    - if true, existing listener will be removed. False by default. If not provided, the last reported by positionChanged method will be used.

  22. abstract def onFindReferences(listener: (String, Int) ⇒ Future[Seq[ILocation]], unsubscribe: Boolean): Unit

    Adds a listener to document find references request.

    Adds a listener to document find references request. Must notify listeners in order of registration.

    listener

    (uri: string, position: number) => Future[Seq[ILocation] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  23. abstract def onMarkOccurrences(listener: (String, Int) ⇒ Future[Seq[IRange]], unsubscribe: Boolean = false): Unit

    Marks occurrences of a symbol under the cursor in the current document.

    Marks occurrences of a symbol under the cursor in the current document.

    listener

    (uri: String, position: Int) => Future[Seq[IRange] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  24. abstract def onOpenDeclaration(listener: (String, Int) ⇒ Future[Seq[ILocation]], unsubscribe: Boolean): Unit

    Adds a listener to document open declaration request.

    Adds a listener to document open declaration request. Must notify listeners in order of registration.

    listener

    (uri: String, position: Int) => Future[Seq[ILocation] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  25. abstract def onOpenDocument(listener: (IOpenedDocument) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document open notification.

    Adds a listener to document open notification. Must notify listeners in order of registration.

    listener

    (document: IOpenedDocument) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

  26. abstract def onRename(listener: (String, Int, String) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean = false): Unit

    Finds the set of document (and non-document files) edits to perform the requested rename.

    Finds the set of document (and non-document files) edits to perform the requested rename.

    listener

    (uri: String, position: Int, newName: String) => Seq[IChangedDocument]

    unsubscribe

    - if true, existing listener will be removed. False by default.

  27. abstract def onSetServerConfiguration(listener: (IServerConfiguration) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Sets server configuration.

    Sets server configuration.

    listener

    (IServerConfiguration) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

  28. abstract def readDir(path: String): Future[Seq[String]]

    Returns directory content list.

  29. abstract def setLoggerConfiguration(loggerSettings: ILoggerSettings): Unit

    Sets logger configuration, both for the server and for the client.

    Sets logger configuration, both for the server and for the client.

    Definition Classes
    ILogger
  30. abstract def structureAvailable(report: IStructureReport): Unit

    Reports new calculated structure when available.

    Reports new calculated structure when available.

    report

    - structure report.

  31. abstract def validated(report: IValidationReport): Unit

    Reports latest validation results

  32. abstract def warning(message: String, component: String, subcomponent: String): Unit

    Logs a WARNING severity message.

    Logs a WARNING severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ILogger

Inherited from AnyRef

Inherited from Any

Ungrouped