BackendService
Index
Properties
- animationId
- catalogStream
- connectionDropped
- connectionStatus
- contourStream
- endToEndPing
- errorStream
- fittingProgressStream
- histogramStream
- listProgressStream
- loggingEnabled
- momentProgressStream
- pvPreviewStream
- pvProgressStream
- rasterSyncStream
- rasterTileStream
- scriptingStream
- serverFeatureFlags
- serverUrl
- sessionId
- spatialProfileStream
- spectralProfileStream
- statsStream
- vectorTileStream
Accessors
Methods
- addRequiredTiles
- cancelRequestingFileList
- cancelRequestingFitting
- cancelRequestingMoment
- cancelRequestingPV
- closeCatalogFile
- closeFile
- closePvPreview
- connect
- exportRegion
- getCatalogFileInfo
- getCatalogList
- getFileInfo
- getFileList
- getRegionFileInfo
- getRegionList
- importRegion
- loadCatalogFile
- loadFile
- loadStokeFiles
- removeRegion
- removeRequiredTiles
- requestFitting
- requestMoment
- requestPV
- resumeSession
- saveFile
- sendAnimationFlowControl
- sendPing
- sendScriptingResponse
- serverHasFeature
- setAuthToken
- setCatalogFilterRequest
- setChannels
- setContourParameters
- setCursor
- setHistogramRequirements
- setRegion
- setSpatialRequirements
- setSpectralRequirements
- setStatsRequirements
- setVectorOverlayParameters
- startAnimation
- stopAnimation
- stopPvPreview
- updateEndToEndPing
Properties
publicanimationId
readonlycatalogStream
connectionDropped
connectionStatus
readonlycontourStream
endToEndPing
readonlyerrorStream
readonlyfittingProgressStream
readonlyhistogramStream
readonlylistProgressStream
readonlyloggingEnabled
readonlymomentProgressStream
readonlypvPreviewStream
readonlypvProgressStream
readonlyrasterSyncStream
readonlyrasterTileStream
readonlyscriptingStream
publicserverFeatureFlags
publicserverUrl
publicsessionId
readonlyspatialProfileStream
readonlyspectralProfileStream
readonlystatsStream
readonlyvectorTileStream
Accessors
staticInstance
Returns BackendService
Methods
addRequiredTiles
Parameters
fileId: number
tiles: number[]
quality: number
Returns boolean
cancelRequestingFileList
Parameters
fileListType: FileListType
Returns true | Observable<never>
cancelRequestingFitting
Parameters
fileId: number
Returns true | Observable<never>
cancelRequestingMoment
Parameters
fileId: number
Returns true | Observable<never>
cancelRequestingPV
Parameters
fileId: number
Returns true | Observable<never>
closeCatalogFile
Parameters
fileId: number
Returns boolean
closeFile
Parameters
fileId: number
Returns boolean
closePvPreview
Parameters
previewId: number
Returns boolean
connect
Parameters
url: string
Returns Promise<IRegisterViewerAck>
exportRegion
Parameters
directory: string
file: string
type: FileType
coordType: CoordinateType
fileId: number
regionStyles: Map<number, IRegionStyle>
Returns Promise<IExportRegionAck>
getCatalogFileInfo
Parameters
directory: string
name: string
Returns Promise<ICatalogFileInfoResponse>
getCatalogList
Parameters
directory: string
filterMode: FileListFilterMode
Returns Promise<ICatalogListResponse>
getFileInfo
Parameters
directory: string
file: string
hdu: string
Returns Promise<IFileInfoResponse>
getFileList
Parameters
directory: string
filterMode: FileListFilterMode
Returns Promise<IFileListResponse>
getRegionFileInfo
Parameters
directory: string
file: string
Returns Promise<IRegionFileInfoResponse>
getRegionList
Parameters
directory: string
filterMode: FileListFilterMode
Returns Promise<IRegionListResponse>
importRegion
Parameters
directory: string
file: string
type: FileType
fileId: number
Returns Promise<IImportRegionAck>
loadCatalogFile
Parameters
directory: string
name: string
fileId: number
previewDataSize: number
Returns Promise<IOpenCatalogFileAck>
loadFile
Parameters
directory: string
file: string
hdu: string
fileId: number
imageArithmetic: boolean
Returns Promise<IOpenFileAck>
loadStokeFiles
Parameters
stokesFiles: IStokesFile[]
fileId: number
renderMode: RenderMode
Returns Promise<IConcatStokesFilesAck>
removeRegion
Parameters
regionId: number
Returns boolean
removeRequiredTiles
Parameters
fileId: number
tiles: number[]
Returns boolean
requestFitting
Parameters
message: IFittingRequest
Returns Promise<IFittingResponse>
requestMoment
Parameters
message: IMomentRequest
Returns Promise<IMomentResponse>
requestPV
Parameters
message: IPvRequest
Returns Promise<IPvResponse>
resumeSession
Parameters
message: IResumeSession
Returns Promise<IResumeSessionAck>
saveFile
Parameters
fileId: number
outputFileDirectory: string
outputFileName: string
outputFileType: FileType
optionalregionId: number
optionalchannels: number[]
optionalstokes: number[]
optionalkeepDegenerate: boolean
optionalrestFreq: number
Returns Promise<ISaveFileAck>
sendAnimationFlowControl
Parameters
message: IAnimationFlowControl
Returns boolean
sendPing
Returns void
sendScriptingResponse
Parameters
message: IScriptingResponse
Returns boolean
publicserverHasFeature
Parameters
feature: ServerFeatureFlags
Returns boolean
setAuthToken
Parameters
token: string
Returns void
setCatalogFilterRequest
Parameters
filterRequest: ICatalogFilterRequest
Returns boolean
setChannels
Parameters
fileId: number
channel: number
stokes: number
requiredTiles: IAddRequiredTiles
Returns boolean
setContourParameters
Parameters
message: ISetContourParameters
Returns boolean
setCursor
Parameters
fileId: number
x: number
y: number
Returns boolean
setHistogramRequirements
Parameters
requirementsMessage: ISetHistogramRequirements
Returns boolean
setRegion
Parameters
fileId: number
regionId: number
region: RegionStore
optionalisRequestingPreview: boolean
Returns Promise<ISetRegionAck>
setSpatialRequirements
Parameters
requirementsMessage: ISetSpatialRequirements
Returns boolean
setSpectralRequirements
Parameters
requirementsMessage: ISetSpectralRequirements
Returns boolean
setStatsRequirements
Parameters
requirementsMessage: ISetStatsRequirements
Returns boolean
setVectorOverlayParameters
Parameters
message: ISetVectorOverlayParameters
Returns boolean
startAnimation
Parameters
animationMessage: IStartAnimation
Returns Promise<IStartAnimationAck>
stopAnimation
Parameters
animationMessage: IStopAnimation
Returns boolean
stopPvPreview
Parameters
previewId: number
Returns boolean
updateEndToEndPing
Returns void