Wait for a network event
| <viztask>.waitNetwork( | |
| sender = None | |
| address = None | |
| port = None |
)
sender = None
Name of sender, list of names, or None to allow any sender
address = None
IP address of sender, list of addresses, or None to allow any address
port = None
Port number, list of ports, or None to allow any port
This command creates a Condition object that will wait for a network event from the specified sender, address , and port.
The yielded command returns a viz.Data object with the following information about the condition:
Properties |
|
events |
A list of network events that were received |
viztask.Condition object