TiledViz
Loading...
Searching...
No Matches
TVConnection.ServerAction Class Reference
Inheritance diagram for TVConnection.ServerAction:

Public Member Functions

 __init__ (self, connectionId, globals, locals)
 run (self, connectionId, globals, locals)
 detect (self)
 execute (self, globals, locals)

Public Attributes

 thread
 actionserver = sock.server(ActionPort)
int iter = 0
bool IsActionConnected = False
str thisAction = "action"+str(actionId)
bool isSelection = False
 thisSelection = list(map(int,actiontiles))

Detailed Description

Definition at line 94 of file TVConnection.py.

Constructor & Destructor Documentation

◆ __init__()

TVConnection.ServerAction.__init__ ( self,
connectionId,
globals,
locals )

Definition at line 96 of file TVConnection.py.

Member Function Documentation

◆ detect()

TVConnection.ServerAction.detect ( self)

Definition at line 138 of file TVConnection.py.

◆ execute()

TVConnection.ServerAction.execute ( self,
globals,
locals )

Definition at line 180 of file TVConnection.py.

◆ run()

TVConnection.ServerAction.run ( self,
connectionId,
globals,
locals )

Definition at line 101 of file TVConnection.py.

Member Data Documentation

◆ actionserver

TVConnection.ServerAction.actionserver = sock.server(ActionPort)

Definition at line 106 of file TVConnection.py.

◆ IsActionConnected

TVConnection.ServerAction.IsActionConnected = False

Definition at line 140 of file TVConnection.py.

◆ isSelection

TVConnection.ServerAction.isSelection = False

Definition at line 164 of file TVConnection.py.

◆ iter

TVConnection.ServerAction.iter = 0

Definition at line 125 of file TVConnection.py.

◆ thisAction

TVConnection.ServerAction.thisAction = "action"+str(actionId)

Definition at line 162 of file TVConnection.py.

◆ thisSelection

TVConnection.ServerAction.thisSelection = list(map(int,actiontiles))

Definition at line 168 of file TVConnection.py.

◆ thread

TVConnection.ServerAction.thread
Initial value:
= threading.Thread(target=self.run, name="ServerAction",
args=(connectionId,globals,locals,)).start()

Definition at line 98 of file TVConnection.py.


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