public abstract class AlienCommandObject
extends java.lang.Object
Constructor and Description |
---|
AlienCommandObject(java.lang.String command)
Construct a command object.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
execute()
Execute a get or set on the reader
|
void |
setSession(Alien9800ReaderSession session)
Set the session on the reader
|
public AlienCommandObject(java.lang.String command)
command
- A command to be send to the Alien sensorSession (see the
static command strings in AlienReader)sensorSession
- A live sensorSession to send the command topublic void setSession(Alien9800ReaderSession session)
session
- public abstract java.lang.String execute() throws java.io.IOException, AlienException, java.util.concurrent.TimeoutException
java.io.IOException
AlienException
java.util.concurrent.TimeoutException