trait IServerConnection extends ILogger
Connection, server modules use to communicate to the clients.
- Alphabetic
- By Inheritance
- IServerConnection
- ILogger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
content(fullPath: String): Future[String]
File contents by full path/url.
-
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
-
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
-
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
-
abstract
def
detailsAvailable(report: IDetailsReport): Unit
Reports new calculated details when available.
Reports new calculated details when available.
- report
- details report.
-
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.
-
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
-
abstract
def
exists(path: String): Future[Boolean]
Returns whether path/url exists.
-
abstract
def
isDirectory(path: String): Future[Boolean]
Returns whether path/url represents a directory
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
abstract
def
readDir(path: String): Future[Seq[String]]
Returns directory content list.
-
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
-
abstract
def
structureAvailable(report: IStructureReport): Unit
Reports new calculated structure when available.
Reports new calculated structure when available.
- report
- structure report.
-
abstract
def
validated(report: IValidationReport): Unit
Reports latest validation results
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )