com.unitech.lib.reader.device

## Class BaseDevice

- java.lang.Object
- - com.unitech.lib.reader.device.BaseDevice

- Direct Known Subclasses:
    DeviceHT730, DeviceRP902

      public abstract class BaseDevice
      extends java.lang.Object

  The BaseDevice is a base class for device.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Protocol` | `_protocol`
    `protected static int` | `INFO`
    `protected java.lang.String` | `TAG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseDevice()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Protocol` | `getProtocol()`
    `BaseTransport` | `getTransport()`
    `abstract java.lang.String` | `getVersion()`
    `boolean` | `start()`
    `void` | `stop()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INFO

          protected static final int INFO

      See Also:
        Constant Field Values

    - #### TAG

          protected java.lang.String TAG

    - #### _protocol

          protected Protocol _protocol

  - ### Constructor Detail

    - #### BaseDevice

          public BaseDevice()

  - ### Method Detail

    - #### getTransport

          public BaseTransport getTransport()

    - #### getProtocol

          public Protocol getProtocol()

    - #### start

          public boolean start()

    - #### stop

          public void stop()

    - #### getVersion

          public abstract java.lang.String getVersion()