WebsocketVizServer

viz.websockets.WebsocketVizServer
trait WebsocketVizServer(portIn: Int) extends MainRoutes

Attributes

Graph
Supertypes
class MainRoutes
trait Routes
class Main
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

inline def LATEST_CHART_ID: String
protected def autoReloadPageOnChart(watchId: String): TypedTag[String]
protected def eChartsView(chartId: String, spec: String): TypedTag[String]
def filerViz(chartId: String): TypedTag[String]
def home(): TypedTag[String]
def notifyChangeToClients(chartId: String): Unit
def openBrowserWindow(): Unit
override def port: Int

Attributes

Definition Classes
Main
def receivedSpec(request: Request, chartType: String, chartId: String): Response[String]
def setFirstTime: Unit
def setup(viz: String): WebsocketResult
def updateOrCreateChart(chartId: String, chartType: String, spec: String): Map[String, ChartSpec]
protected def vegaView(chartId: String, spec: String): TypedTag[String]

Inherited methods

def allRoutes: Seq[Routes]

Attributes

Inherited from:
MainRoutes
def caskMetadata: RoutesEndpointsMetadata[Routes.this.type]

Attributes

Inherited from:
Routes
def createActorContext: Simple

Attributes

Inherited from:
Main
def createExecutionContext: ExecutionContextExecutorService

Attributes

Inherited from:
Main
def debugMode: Boolean

Attributes

Inherited from:
Main
def decorators: Seq[Decorator[_, _, _, _]]

Attributes

Inherited from:
Routes
def defaultHandler: HttpHandler

Attributes

Inherited from:
Main
def dispatchTrie: DispatchTrie[Map[String, (Routes, EndpointMetadata[_])]]

Attributes

Inherited from:
Main
def handleEndpointError(routes: Routes, metadata: EndpointMetadata[_], e: Error, req: Request): Raw

Attributes

Inherited from:
Main
def handleMethodNotAllowed(req: Request): Raw

Attributes

Inherited from:
Main
def handleNotFound(req: Request): Raw

Attributes

Inherited from:
Main
def host: String

Attributes

Inherited from:
Main
def main(args: Array[String]): Unit

Attributes

Inherited from:
Main
def mainDecorators: Seq[Decorator[_, _, _, _]]

Attributes

Inherited from:
Main
def verbose: Boolean

Attributes

Inherited from:
Main

Concrete fields

val charts: Map[String, ChartSpec]
val connectedChannels: ListBuffer[WebSocketChannel]
var firstTime: Boolean
protected val supportedChartTypes: Map[String, (String, String) => TypedTag[String]]

Inherited fields

val executionContext: ExecutionContextExecutorService

Attributes

Inherited from:
Main

Implicits

Inherited implicits

implicit val actorContext: Context

Attributes

Inherited from:
Main
implicit def log: Logger

Attributes

Inherited from:
Main