ServerPortfolio
2.0
Python parsers and server
|
Make a connection to the root application server to send directly new data. More...
Public Member Functions | |
def | __init__ |
def | GetActivity |
def | Connect |
Try to connect to the server. More... | |
def | SendData |
Connect to the server send the data no answer at this point Close the socket. More... | |
Public Attributes | |
logger | |
active | |
default true at creation, SendData will send back false if the connection is impossible. More... | |
sock | |
Make a connection to the root application server to send directly new data.
do not accept answer from the server.
Test is listening (correct connect function) to do
Definition at line 19 of file ModClientTCP.py.
def serverportfolio.ModClientTCP.TCPClient.__init__ | ( | self | ) |
Definition at line 21 of file ModClientTCP.py.
def serverportfolio.ModClientTCP.TCPClient.Connect | ( | self, | |
only_check = False |
|||
) |
Try to connect to the server.
connection is opened at the end ??
only_check | if True try to connect and close the socket and return the status |
Definition at line 42 of file ModClientTCP.py.
Referenced by serverportfolio.ModClientTCP.TCPClient.SendData().
def serverportfolio.ModClientTCP.TCPClient.GetActivity | ( | self | ) |
Definition at line 34 of file ModClientTCP.py.
References serverportfolio.ModClientTCP.TCPClient.active.
def serverportfolio.ModClientTCP.TCPClient.SendData | ( | self, | |
data | |||
) |
Connect to the server send the data no answer at this point Close the socket.
Definition at line 82 of file ModClientTCP.py.
References serverportfolio.ModClientTCP.TCPClient.Connect().
serverportfolio.ModClientTCP.TCPClient.active |
default true at creation, SendData will send back false if the connection is impossible.
now tested by Connect every time
Definition at line 32 of file ModClientTCP.py.
Referenced by serverportfolio.ModClientTCP.TCPClient.GetActivity().
serverportfolio.ModClientTCP.TCPClient.logger |
Definition at line 22 of file ModClientTCP.py.
Referenced by serverportfolio.Validation.ValidationTkHP.__init__(), and serverportfolio.SocketServer_Server.MyHandler_Parser.handle().
serverportfolio.ModClientTCP.TCPClient.sock |
Definition at line 47 of file ModClientTCP.py.