Bridges-Python 3.5.1
Bridges(Python API)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
bridges.socket_connection.SocketConnection Class Reference

This class is used internally as part of the BRIDGES Game API to set up connections to the BRIDGES Game server. More...

Public Member Functions

 __init__ (self, b)
 
 setup_connection (self, user, assignment)
 
 keydown (*args)
 
 keyup (*args)
 
 disconnect (*args)
 
 send_data (self, dataframe, vistype)
 
 close (self)
 

Static Public Member Functions

 add_listener (to_add)
 

Public Attributes

 bridges
 

Static Protected Attributes

 _sio
 
list _listeners
 
bool _verbose
 

Detailed Description

This class is used internally as part of the BRIDGES Game API to set up connections to the BRIDGES Game server.

Not to be used directly by BRIDGES users directly

Constructor & Destructor Documentation

◆ __init__()

bridges.socket_connection.SocketConnection.__init__ (   self,
  b 
)

Member Function Documentation

◆ add_listener()

bridges.socket_connection.SocketConnection.add_listener (   to_add)
static

◆ close()

bridges.socket_connection.SocketConnection.close (   self)

◆ disconnect()

bridges.socket_connection.SocketConnection.disconnect ( args)

◆ keydown()

bridges.socket_connection.SocketConnection.keydown ( args)

◆ keyup()

bridges.socket_connection.SocketConnection.keyup ( args)

◆ send_data()

bridges.socket_connection.SocketConnection.send_data (   self,
  dataframe,
  vistype 
)

◆ setup_connection()

bridges.socket_connection.SocketConnection.setup_connection (   self,
  user,
  assignment 
)

Member Data Documentation

◆ _listeners

bridges.socket_connection.SocketConnection._listeners
staticprotected

◆ _sio

bridges.socket_connection.SocketConnection._sio
staticprotected

◆ _verbose

bridges.socket_connection.SocketConnection._verbose
staticprotected

◆ bridges

bridges.socket_connection.SocketConnection.bridges

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