MeVisLab Web Toolkit Reference
Loading...
Searching...
No Matches
MLABRemote.MLABRemoteClass Class Reference

The class of the MLABRemote object. More...

Public Member Functions

 __init__ (self)
 addAllowedRemoteCalls (self, allowedRemoteCalls)
 call (self, method, *args)
 callOnModule (self, method, *args)
 Calls the given method with the given arguments in the web client context.
 callWithResult (self, callback, method, *args)
 callWithResultOnModule (self, callback, method, *args)
 getModule (self)
 setup (self, module)

Protected Member Functions

 _callInternal (self, method, *args)
 _callWithResultInternal (self, callback, method, *args)
 _setAllowedRemoteCalls (self)
 _setupAllowedRemoteCalls (self)

Protected Attributes

 _allowedRemoteCalls = set()
 _module = None

Detailed Description

The class of the MLABRemote object.

Definition at line 17 of file MLABRemote.py.

Constructor & Destructor Documentation

◆ __init__()

MLABRemote.MLABRemoteClass.__init__ ( self)

Definition at line 18 of file MLABRemote.py.

Member Function Documentation

◆ _callInternal()

MLABRemote.MLABRemoteClass._callInternal ( self,
method,
* args )
protected

Definition at line 40 of file MLABRemote.py.

References _module.

Referenced by call(), and callOnModule().

◆ _callWithResultInternal()

MLABRemote.MLABRemoteClass._callWithResultInternal ( self,
callback,
method,
* args )
protected

Definition at line 43 of file MLABRemote.py.

References _module.

Referenced by callWithResult(), and callWithResultOnModule().

◆ _setAllowedRemoteCalls()

MLABRemote.MLABRemoteClass._setAllowedRemoteCalls ( self)
protected

Definition at line 59 of file MLABRemote.py.

References _allowedRemoteCalls, and _module.

Referenced by _setupAllowedRemoteCalls(), and addAllowedRemoteCalls().

◆ _setupAllowedRemoteCalls()

MLABRemote.MLABRemoteClass._setupAllowedRemoteCalls ( self)
protected

Definition at line 49 of file MLABRemote.py.

References _allowedRemoteCalls, _module, and _setAllowedRemoteCalls().

Referenced by setup().

◆ addAllowedRemoteCalls()

MLABRemote.MLABRemoteClass.addAllowedRemoteCalls ( self,
allowedRemoteCalls )

Definition at line 70 of file MLABRemote.py.

References _allowedRemoteCalls, and _setAllowedRemoteCalls().

◆ call()

MLABRemote.MLABRemoteClass.call ( self,
method,
* args )

Definition at line 34 of file MLABRemote.py.

References _callInternal().

◆ callWithResult()

MLABRemote.MLABRemoteClass.callWithResult ( self,
callback,
method,
* args )

Definition at line 37 of file MLABRemote.py.

References _callWithResultInternal().

◆ callWithResultOnModule()

MLABRemote.MLABRemoteClass.callWithResultOnModule ( self,
callback,
method,
* args )

Definition at line 31 of file MLABRemote.py.

References _callWithResultInternal().

◆ getModule()

MLABRemote.MLABRemoteClass.getModule ( self)

Definition at line 46 of file MLABRemote.py.

References _module.

◆ setup()

MLABRemote.MLABRemoteClass.setup ( self,
module )

Definition at line 22 of file MLABRemote.py.

References _module, and _setupAllowedRemoteCalls().

Member Data Documentation

◆ _allowedRemoteCalls

MLABRemote.MLABRemoteClass._allowedRemoteCalls = set()
protected

◆ _module

MLABRemote.MLABRemoteClass._module = None
protected

The documentation for this class was generated from the following file: