caoss.simulator.os

## Class DeviceDriver

- java.lang.Object
- - caoss.simulator.os.DeviceDriver

- Direct Known Subclasses:
    DummyDeviceDriver

      public abstract class DeviceDriver
      extends java.lang.Object

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `close(File file)`
    `abstract File` | `open()`
    `abstract void` | `read(File file, long nbytes, long offset)`
    `abstract void` | `write(File file, long nbytes, long offset)`

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

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

- - ### Method Detail

    - #### open

          public abstract File open()
                             throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### read

          public abstract void read(File file,
                                    long nbytes,
                                    long offset)
                             throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### write

          public abstract void write(File file,
                                     long nbytes,
                                     long offset)
                              throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### close

          public abstract void close(File file)
                              throws java.lang.Exception

      Throws:
        `java.lang.Exception`