Skip to content

Package: ItemVisitor

ItemVisitor

Coverage

1: package networkconfigurator.item;
2:
3: /**
4: * Visitor for the Nodes.
5: *
6: * @author Erik Arand hfw416
7: *
8: */
9: public interface ItemVisitor {
10:         /**
11:          * It's a host.
12:          *
13:          * @param host
14:          * the host
15:          */
16:         void host(Host host);
17:
18:         /**
19:          * It's a normal router.
20:          *
21:          * @param router
22:          * router.
23:          */
24:         void router(Router router);
25:
26:         /**
27:          * It's a host.
28:          *
29:          * @param sWitch
30:          * the switch.
31:          */
32:         void sWitch(Switch sWitch);
33:
34:         /**
35:          * Shows the details of the adapter.
36:          *
37:          * @param adapter
38:          * the adapter
39:          */
40:         void adapter(NetworkAdapter adapter);
41:
42:         /**
43:          * It's a internet.
44:          *
45:          * @param internet
46:          * the internet.
47:          */
48:         void internet(Internet internet);
49:
50:         /**
51:          * It's a router.
52:          *
53:          * @param router
54:          * router.
55:          */
56:         void configRouter(ConfigRouter router);
57:
58:         /**
59:          * It's a HardwareEdge.
60:          *
61:          * @param edge
62:          * the edge.
63:          */
64:         void hardwareEdge(HardwareEdge edge);
65:
66:         /**
67:          * It's a networkEdge.
68:          *
69:          * @param edge
70:          * the edge.
71:          */
72:         void networkCable(NetworkCable edge);
73:
74:         /**
75:          * It's a Slot.
76:          *
77:          * @param slot
78:          * the slot.
79:          */
80:         void slot(Slot slot);
81:
82: }