public interface ItemVisitor
Modifier and Type | Method and Description |
---|---|
void |
adapter(NetworkAdapter adapter)
Shows the details of the adapter.
|
void |
configRouter(ConfigRouter router)
It's a router.
|
void |
hardwareEdge(HardwareEdge edge)
It's a HardwareEdge.
|
void |
host(Host host)
It's a host.
|
void |
internet(Internet internet)
It's a internet.
|
void |
networkCable(NetworkCable edge)
It's a networkEdge.
|
void |
router(Router router)
It's a normal router.
|
void |
slot(Slot slot)
It's a Slot.
|
void |
sWitch(Switch sWitch)
It's a host.
|
void host(Host host)
host
- the hostvoid router(Router router)
router
- router.void sWitch(Switch sWitch)
sWitch
- the switch.void adapter(NetworkAdapter adapter)
adapter
- the adaptervoid internet(Internet internet)
internet
- the internet.void configRouter(ConfigRouter router)
router
- router.void hardwareEdge(HardwareEdge edge)
edge
- the edge.void networkCable(NetworkCable edge)
edge
- the edge.void slot(Slot slot)
slot
- the slot.