stella.rmi
Interface PollerQuery

All Superinterfaces:
Remote
All Known Implementing Classes:
DummyRS485, JRS485Simulator, PollingRS485Server

public interface PollerQuery
extends Remote

The interface allowing remote queries of the polling rs485 cache. Additionally, read-times of the commands are transferred.


Method Summary
 String getPollerCache()
          Queries the actual content of the polling RS485-server cache.
 String interleaveCommand(String cmd)
          Allows a command to be interleaved between poller queries at a running rs485 server.
 boolean isPolling()
          Queries if this poller is currently polling.
 

Method Detail

isPolling

boolean isPolling()
                  throws RemoteException
Queries if this poller is currently polling. If the polling is done with a thread, it may be sufficient to simply call the thread's isAlive method.

Throws:
RemoteException

getPollerCache

String getPollerCache()
                      throws RemoteException
Queries the actual content of the polling RS485-server cache. Each key present in the cache is returned as a single line. The lines returned consist of the command, its current value and the command-execution times (last/max/min), e.g.:
       $1C6->!2D0200 (30/100/25)
       

Throws:
RemoteException

interleaveCommand

String interleaveCommand(String cmd)
                         throws RemoteException
Allows a command to be interleaved between poller queries at a running rs485 server.

Throws:
RemoteException