use of jmri.jmrix.lenz.LenzCommandStation in project JMRI by JMRI.
the class LIUSBServerAdapter method configure.
/**
* set up all of the other objects to operate with a LIUSB Server interface
*/
@Override
public void configure() {
if (log.isDebugEnabled()) {
log.debug("configure called");
}
// connect to a packetizing traffic controller
XNetTrafficController packets = (new LIUSBServerXNetPacketizer(new LenzCommandStation()));
packets.connectPort(this);
// start operation
// packets.startThreads();
this.getSystemConnectionMemo().setXNetTrafficController(packets);
// Start the threads that handle the network communication.
startCommThread();
startBCastThread();
new XNetInitializationManager(this.getSystemConnectionMemo());
}
use of jmri.jmrix.lenz.LenzCommandStation in project JMRI by JMRI.
the class LIUSBEthernetAdapter method configure.
/**
* set up all of the other objects to operate with a LIUSB Ethernet
* interface
*/
@Override
public void configure() {
if (log.isDebugEnabled()) {
log.debug("configure called");
}
// connect to a packetizing traffic controller
XNetTrafficController packets = (new LIUSBEthernetXNetPacketizer(new LenzCommandStation()));
packets.connectPort(this);
// start operation
// packets.startThreads();
this.getSystemConnectionMemo().setXNetTrafficController(packets);
new XNetInitializationManager(this.getSystemConnectionMemo());
}
use of jmri.jmrix.lenz.LenzCommandStation in project JMRI by JMRI.
the class LIUSBAdapter method configure.
/**
* set up all of the other objects to operate with a LIUSB connected to this
* port
*/
@Override
public void configure() {
// connect to a packetizing traffic controller
XNetTrafficController packets = new LIUSBXNetPacketizer(new LenzCommandStation());
packets.connectPort(this);
// start operation
// packets.startThreads();
this.getSystemConnectionMemo().setXNetTrafficController(packets);
new XNetInitializationManager(this.getSystemConnectionMemo());
}
use of jmri.jmrix.lenz.LenzCommandStation in project JMRI by JMRI.
the class LI101Adapter method configure.
/**
* set up all of the other objects to operate with a LI101 connected to this
* port
*/
@Override
public void configure() {
// connect to a packetizing traffic controller
XNetTrafficController packets = new XNetPacketizer(new LenzCommandStation());
packets.connectPort(this);
// start operation
// packets.startThreads();
this.getSystemConnectionMemo().setXNetTrafficController(packets);
new XNetInitializationManager(this.getSystemConnectionMemo());
}
use of jmri.jmrix.lenz.LenzCommandStation in project JMRI by JMRI.
the class ZTC611Adapter method configure.
/**
* set up all of the other objects to operate with a ZTC611 connected to
* this port
*/
@Override
public void configure() {
// connect to a packetizing traffic controller
XNetTrafficController packets = new ZTC611XNetPacketizer(new LenzCommandStation());
packets.connectPort(this);
// start operation
// packets.startThreads();
this.getSystemConnectionMemo().setXNetTrafficController(packets);
new ZTC611XNetInitializationManager(this.getSystemConnectionMemo());
}
Aggregations