JSocket  1.4
JSON Client & Server Message Passing Socket
 All Classes Namespaces Functions
Public Member Functions | Public Attributes
jsocket.tserver.ServerFactoryThread Class Reference
Inheritance diagram for jsocket.tserver.ServerFactoryThread:
Inheritance graph
[legend]
Collaboration diagram for jsocket.tserver.ServerFactoryThread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def swap_socket
 Swaps the existing socket with a new one.
def run

Public Attributes

 socket
 conn

Member Function Documentation

def jsocket.tserver.ServerFactoryThread.swap_socket (   self,
  new_sock 
)

Swaps the existing socket with a new one.

Useful for setting socket after a new connection.

Parameters:
new_socksocket to replace the existing default jsocket.JsonSocket object
Return values:
None

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions