use of jmri.jmrix.lenz.XNetInitializationManager 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.XNetInitializationManager 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.XNetInitializationManager 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.XNetInitializationManager 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.XNetInitializationManager in project JMRI by JMRI.
the class XnTcpAdapter method configure.
/**
* set up all of the other objects to operate with a XnTcp interface
*/
@Override
public void configure() {
// connect to a packetizing traffic controller
XNetTrafficController packets = new XnTcpXNetPacketizer(new LenzCommandStation());
packets.connectPort(this);
this.getSystemConnectionMemo().setXNetTrafficController(packets);
new XNetInitializationManager(this.getSystemConnectionMemo());
}
Aggregations