Network
This class receive all the packets from the server and add them in a queue
Public member functions
Public attributes
Private attributes
Member functions documentation
Constructor
Parameters
ip:
The client ipport:
The server port
setInst
Set the _instOut attribute
getStreamOut
return the _outStream attribute
send
send the Stream in parameter to the client
send
send the _streamOut stream with the _instOut instruction
read
This method start the clock that read inputs
startReceive
This method is the clock that read inputs
getQueueIn
This method return the in packet queue
getNextInst
Try to get an instruction from th _streamIn. If it can, it return the instruction and the stream of request.
setClosed
Set the attribute _closed
Last updated