Input/Output (p.io)#
interaction#
- interaction(Param)#
default =
Param({})
- interaction.server(Param)#
default =
Param({})
- interaction.server.active(bool)#
Activation switch
Set to
Falsefor no ZeroMQ interaction serverdefault =
True
- interaction.server.address(str)#
The address the server is listening to.
Wenn running ptypy on a remote server, it is the servers network address.
default =
'tcp://127.0.0.1'
- interaction.server.port(int)#
The port the server is listening to.
Make sure to pick an unused port with a few unused ports close to it.
default =
5560
- interaction.server.connections(int)#
Number of concurrent connections on the server
A range
[port : port+connections]of ports adjacentportwill be opened on demand for connecting clients.default =
10
- interaction.server.poll_timeout(float)#
Network polling interval
Network polling interval, in milliseconds.
default =
10.0
- interaction.server.pinginterval(float)#
Interval to check pings
Interval with which to check pings, in seconds.
default =
2
- interaction.server.pingtimeout(float)#
Ping time out
Ping time out: client disconnected after this period, in seconds.
default =
10
- interaction.client(Param)#
default =
Param({})
- interaction.client.address(str)#
The address the server is listening to.
Wenn running ptypy on a remote server, it is the servers network address.
default =
'tcp://127.0.0.1'
- interaction.client.port(int)#
The port the server is listening to.
Make sure to pick an unused port with a few unused ports close to it.
default =
5560
- interaction.client.poll_timeout(float)#
Network polling interval
Network polling interval, in milliseconds.
default =
100.0
- interaction.client.pinginterval(float)#
Interval to check pings
Interval with which to check pings, in seconds.
default =
1
- interaction.client.connection_timeout(float)#
Timeout for dead server
Timeout for dead server, in milliseconds.
default =
3600000.0