rtCommon.subjectService

An example command-line service to be run at the presentation computer to receive classification results from the classification script.

This service instantiates a SubjectInterface for serving sending/receiving subject feedback to the projectServer in the cloud. It connects to the remote projectServer. Once a connection is established it waits for requets and invokes the SubjecInterface functions to handle them.

Note: This service is intended as an example. In practice this subjectInterface would likely be instantiated within the presentation script and there it would use WsRemoteService to connect this instance to the remote projectServer where the classification is script running.

Module Contents

Classes

SubjectService

Attributes

currPath

rootPath

connectionArgs

rtCommon.subjectService.currPath
rtCommon.subjectService.rootPath
class rtCommon.subjectService.SubjectService(args, webSocketChannelName='wsSubject')
runDetached(self)

Starts the receiver in it’s own thread.

rtCommon.subjectService.connectionArgs