Search in sources :

Example 6 with XNetTrafficController

use of jmri.jmrix.lenz.XNetTrafficController in project JMRI by JMRI.

the class EliteAdapter method configure.

/**
     * set up all of the other objects to operate with the Hornby Elite
     * connected to this port
     */
@Override
public void configure() {
    // connect to a packetizing traffic controller
    XNetTrafficController packets = new XNetPacketizer(new HornbyEliteCommandStation());
    packets.connectPort(this);
    // start operation
    // packets.startThreads();
    this.getSystemConnectionMemo().setXNetTrafficController(packets);
    new EliteXNetInitializationManager(this.getSystemConnectionMemo());
}
Also used : XNetPacketizer(jmri.jmrix.lenz.XNetPacketizer) XNetTrafficController(jmri.jmrix.lenz.XNetTrafficController)

Example 7 with XNetTrafficController

use of jmri.jmrix.lenz.XNetTrafficController in project JMRI by JMRI.

the class LI100Adapter method configure.

/**
     * set up all of the other objects to operate with a LI100 connected to this
     * port
     */
@Override
public void configure() {
    // connect to a packetizing traffic controller
    XNetTrafficController packets = new LI100XNetPacketizer(new LenzCommandStation());
    packets.connectPort(this);
    // start operation
    // packets.startThreads();
    this.getSystemConnectionMemo().setXNetTrafficController(packets);
    new LI100XNetInitializationManager(this.getSystemConnectionMemo());
}
Also used : XNetTrafficController(jmri.jmrix.lenz.XNetTrafficController) LenzCommandStation(jmri.jmrix.lenz.LenzCommandStation)

Example 8 with XNetTrafficController

use of jmri.jmrix.lenz.XNetTrafficController in project JMRI by JMRI.

the class LI100Adapter method configure.

/**
     * set up all of the other objects to operate with a LI100 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());
}
Also used : XNetInitializationManager(jmri.jmrix.lenz.XNetInitializationManager) XNetPacketizer(jmri.jmrix.lenz.XNetPacketizer) XNetTrafficController(jmri.jmrix.lenz.XNetTrafficController) LenzCommandStation(jmri.jmrix.lenz.LenzCommandStation)

Example 9 with XNetTrafficController

use of jmri.jmrix.lenz.XNetTrafficController in project JMRI by JMRI.

the class ZTC640Adapter method configure.

/**
     * set up all of the other objects to operate with a ZTC640 connected to
     * this port
     */
@Override
public void configure() {
    // connect to a packetizing traffic controller
    XNetTrafficController packets = new ZTC640XNetPacketizer(new LenzCommandStation());
    packets.connectPort(this);
    // start operation
    // packets.startThreads();
    this.getSystemConnectionMemo().setXNetTrafficController(packets);
    new XNetInitializationManager(this.getSystemConnectionMemo());
}
Also used : XNetInitializationManager(jmri.jmrix.lenz.XNetInitializationManager) XNetTrafficController(jmri.jmrix.lenz.XNetTrafficController) LenzCommandStation(jmri.jmrix.lenz.LenzCommandStation)

Example 10 with XNetTrafficController

use of jmri.jmrix.lenz.XNetTrafficController 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());
}
Also used : XNetInitializationManager(jmri.jmrix.lenz.XNetInitializationManager) XNetTrafficController(jmri.jmrix.lenz.XNetTrafficController) LenzCommandStation(jmri.jmrix.lenz.LenzCommandStation)

Aggregations

XNetTrafficController (jmri.jmrix.lenz.XNetTrafficController)11 LenzCommandStation (jmri.jmrix.lenz.LenzCommandStation)10 XNetInitializationManager (jmri.jmrix.lenz.XNetInitializationManager)8 XNetPacketizer (jmri.jmrix.lenz.XNetPacketizer)4