Package com.aurelienpierre.sioul
Interface Ccid.Pipe
- Enclosing class:
Ccid
static interface Ccid.Pipe
The key's two bulk endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanpresent()Whether the key is still plugged in.intreceive(byte[] into, int timeoutMs) Receives one transfer intointo: how many came, or a negative number (nothing within the time, or a failure).intsend(byte[] data, int offset, int length, int timeoutMs) Sendslengthbytes fromoffset: how many went, or a negative number.
-
Method Details
-
send
Sendslengthbytes fromoffset: how many went, or a negative number. -
receive
Receives one transfer intointo: how many came, or a negative number (nothing within the time, or a failure). -
present
boolean present()Whether the key is still plugged in.
-