Interface Ccid.Pipe

Enclosing class:
Ccid

static interface Ccid.Pipe
The key's two bulk endpoints.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the key is still plugged in.
    int
    receive(byte[] into, int timeoutMs)
    Receives one transfer into into: how many came, or a negative number (nothing within the time, or a failure).
    int
    send(byte[] data, int offset, int length, int timeoutMs)
    Sends length bytes from offset: how many went, or a negative number.
  • Method Details

    • send

      int send(byte[] data, int offset, int length, int timeoutMs)
      Sends length bytes from offset: how many went, or a negative number.
    • receive

      int receive(byte[] into, int timeoutMs)
      Receives one transfer into into: how many came, or a negative number (nothing within the time, or a failure).
    • present

      boolean present()
      Whether the key is still plugged in.