private final class NewSlotAction.VisitorForHardwareEdge extends java.lang.Object implements ItemVisitor
| Modifier | Constructor and Description |
|---|---|
private |
VisitorForHardwareEdge(Node newSlot)
The constructor.
|
| 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.
|
private final Node newSlot
private VisitorForHardwareEdge(Node newSlot)
newSlot - the new slot.public void sWitch(Switch sWitch)
ItemVisitorsWitch in interface ItemVisitorsWitch - the switch.public void router(Router router)
ItemVisitorrouter in interface ItemVisitorrouter - router.public void networkCable(NetworkCable edge)
ItemVisitornetworkCable in interface ItemVisitoredge - the edge.public void internet(Internet internet)
ItemVisitorinternet in interface ItemVisitorinternet - the internet.public void host(Host host)
ItemVisitorhost in interface ItemVisitorhost - the hostpublic void hardwareEdge(HardwareEdge edge)
ItemVisitorhardwareEdge in interface ItemVisitoredge - the edge.public void configRouter(ConfigRouter router)
ItemVisitorconfigRouter in interface ItemVisitorrouter - router.public void adapter(NetworkAdapter adapter)
ItemVisitoradapter in interface ItemVisitoradapter - the adapterpublic void slot(Slot slot)
ItemVisitorslot in interface ItemVisitorslot - the slot.