jreceiver.common.rpc
Interface Signals

All Superinterfaces:
RpcBase, ServerTable

public interface Signals
extends ServerTable

Signal-definition queries and updates for a (possibly-remote) JRec server

Version:
$Revision: 1.3 $ $Date: 2002/07/31 11:29:41 $
Author:
Reed Esau

Field Summary
static java.lang.String CLEAR
           
static java.lang.String GET_KEY_COUNT_FOR_DRIVER_BINDING
           
static java.lang.String GET_KEYS_FOR_DRIVER_BINDING
           
static java.lang.String HANDLER_NAME
           
static java.lang.String PLAY
           
static java.lang.String RECORD
           
 
Fields inherited from interface jreceiver.common.rpc.ServerTable
DELETE_RECS, GET_KEY_COUNT, GET_KEYS, GET_REC, GET_RECS, STORE_REC, STORE_RECS
 
Fields inherited from interface jreceiver.common.rpc.RpcBase
DETECT
 
Method Summary
 void clear(SignalKey key)
          clear a signal's data
 int getKeyCountForDriverBinding(DriverBindingKey drvbind_key)
          Obtain a total count of signal keys for a driverbind
 java.util.Vector getKeysForDriverBinding(DriverBindingKey drvbind_key, java.lang.String order_by, int rec_offset, int rec_count)
          Obtain an ordered range of keys for the specified driverbind.
 void play(Signal sig, Device device)
          Playback the signal for the specified device.
 void record(SignalKey key, Device device)
          Record a signal for the specified device, storing the results.
 
Methods inherited from interface jreceiver.common.rpc.ServerTable
deleteRecs, getKeyCount, getKeys, getRec, getRec, getRecs, getRecs, storeRec, storeRecs
 
Methods inherited from interface jreceiver.common.rpc.RpcBase
detect
 

Field Detail

HANDLER_NAME

public static final java.lang.String HANDLER_NAME

GET_KEY_COUNT_FOR_DRIVER_BINDING

public static final java.lang.String GET_KEY_COUNT_FOR_DRIVER_BINDING

GET_KEYS_FOR_DRIVER_BINDING

public static final java.lang.String GET_KEYS_FOR_DRIVER_BINDING

CLEAR

public static final java.lang.String CLEAR

PLAY

public static final java.lang.String PLAY

RECORD

public static final java.lang.String RECORD
Method Detail

getKeyCountForDriverBinding

public int getKeyCountForDriverBinding(DriverBindingKey drvbind_key)
                                throws RpcException
Obtain a total count of signal keys for a driverbind

Recommended when traversing large lists.


getKeysForDriverBinding

public java.util.Vector getKeysForDriverBinding(DriverBindingKey drvbind_key,
                                                java.lang.String order_by,
                                                int rec_offset,
                                                int rec_count)
                                         throws RpcException
Obtain an ordered range of keys for the specified driverbind.

Recommended when traversing large lists where a complex filter is used.


record

public void record(SignalKey key,
                   Device device)
            throws RpcException
Record a signal for the specified device, storing the results.

play

public void play(Signal sig,
                 Device device)
          throws RpcException
Playback the signal for the specified device.

clear

public void clear(SignalKey key)
           throws RpcException
clear a signal's data


Copyright © 2001-2002 Reed Esau, All Rights Reserved.