Network Router
Building Type |
Buildable Network Component |
Max Network Connections |
1 (on each connector) |
Build Gun | In Game |
---|---|
The Network Router allows you to compartmentalize your FIC-SIT networks for easy modification, while still allowing cross-network communication.
Filters can also be defined based on message port and address. Filters are set to Blacklist by default.
Interface
Parent |
Functions
Set Port List setPortList
(Array(Int) Ports ports
out)
Overrides the port filter list with the given array.
Flags |
RuntimeSync RuntimeParallel |
- Return Values
-
Name Type Description Ports
ports
Array(Int) out
The port array you want to override the filter list with.
Set Address List setAddrList
(Array(String) Addresses addresses
out)
Overrides the address filter list with the given array.
Flags |
RuntimeSync RuntimeParallel |
- Return Values
-
Name Type Description Addresses
addresses
Array(String) out
The address array you want to override the filter list with.
Remove Port from List removePortList
(Int Port port
)
Removes the given port from the port filter list.
Flags |
RuntimeSync RuntimeParallel |
- Parameters
-
Name Type Description Port
port
Int
The port you want to remove from the list.
Remove Address from List removeAddrList
(String Address addr
)
Removes the given address from the address filter list.
Flags |
RuntimeSync RuntimeParallel |
- Parameters
-
Name Type Description Address
addr
String
The address you want to remove from the list.
Get Port List getPortList
(Array(Int) Ports ports
out)
Allows to get all the ports of the port filter list as array.
Flags |
RuntimeSync RuntimeParallel |
- Return Values
-
Name Type Description Ports
ports
Array(Int) out
The port array of the filter list.
Get Address List getAddrList
(Array(String) Addresses addresses
out)
Allows to get all the addresses of the address filter list as array.
Flags |
RuntimeSync RuntimeParallel |
- Return Values
-
Name Type Description Addresses
addresses
Array(String) out
The address array of the filter list.
Add Port to List addPortList
(Int Port port
)
Adds a given port to the port filter list.
Flags |
RuntimeSync RuntimeParallel |
- Parameters
-
Name Type Description Port
port
Int
The port you want to add to the list.
addAddrList addAddrList
(String addr addr
)
Flags |
RuntimeSync RuntimeParallel |
- Parameters
-
Name Type Description addr
addr
String
- Buildings
- Apis
-
Component - Computer - Event - FileSystem