Refactorización.
Extract method 'private boolean atDestination(Node currentNode, Packet
packet)' from 'lanSimulation.Network.requestWorkstationPrintsDocument()'
to 'lanSimulation.Network'
- Original project: '1314dass01'
- Method name: 'atDestination'
- Destination type: 'lanSimulation.Network'
- Declared visibility: 'private'
- Replace occurrences of statements with method
Añade subclases de Nodo para los tipos WorkStation y Printer.
Los constructores de las subclases crean instancias correctas de Node.
Ajusta invocación de clientes a las subclases.