The main class for providing Loconet services and communication.

Namespace:  RRAutoLib.Loconet
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 1.3.3371.40749 (1.3.0.0)

Syntax

Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
Public NotInheritable Class LoconetService

Remarks

This class creates a connection to a serial port and maintains two threads, separate from the calling thread, for receiving and transmitting data packets. It also has two queues for standard and priority packet transmission. All transmissions are asyncronus but requests and responses can be matched (see: ReqID, Packet..::.CallBack). Responses can and should be syncronized to a user specified thread (see: RaiseEventsSyncObj).

Examples

See the Start()()() method for a code example.

Inheritance Hierarchy

System..::.Object
  RRAutoLib.Loconet..::.LoconetService

See Also