private final class ConnectAction.VisitOwnerOfSecondAdapterWithListOfTypes extends java.lang.Object implements ConnectVisitor
Modifier and Type | Field and Description |
---|---|
private Adapter |
adapter1
the first adapter which owner is an internet node.
|
private java.util.List<ConnectingType> |
list1
The list of connecting types that is.
|
Modifier | Constructor and Description |
---|---|
private |
VisitOwnerOfSecondAdapterWithListOfTypes(java.util.List<ConnectingType> list1,
Adapter adapter1)
The Constructor of the Visitor.
|
Modifier and Type | Method and Description |
---|---|
void |
adapter(NetworkAdapter adapter)
visitor pattern.
|
void |
slot(Slot slot)
visitor pattern.
|
private final java.util.List<ConnectingType> list1
private final Adapter adapter1
private VisitOwnerOfSecondAdapterWithListOfTypes(java.util.List<ConnectingType> list1, Adapter adapter1)
list1
- list of types of the configrouter which adapter should be connected.adapter1
- adapter1 which should be connected.public void slot(Slot slot)
ConnectVisitor
slot
in interface ConnectVisitor
slot
- the slot.public void adapter(NetworkAdapter adapter)
ConnectVisitor
adapter
in interface ConnectVisitor
adapter
- the networkAdapter.