jreceiver.common.rec.driver
Interface Device

All Superinterfaces:
Hashable, Rec
All Known Subinterfaces:
DeviceStatus
All Known Implementing Classes:
DeviceRec

public interface Device
extends Rec

An interface describing a JRec device, which can serve one or more Players.

Version:
$Revision: 1.2 $ $Date: 2002/12/29 00:44:06 $
Author:
Reed Esau

Field Summary
static java.lang.String HKEY_ADDRESS
           
static java.lang.String HKEY_DEVICE_ID
           
static java.lang.String HKEY_DRIVER_ID
           
static java.lang.String HKEY_TIMESTAMP
           
 
Fields inherited from interface jreceiver.common.rec.Rec
HKEY_KEY, NO_LIMIT
 
Method Summary
 java.lang.String getAddress()
          This address is a the network address by which to identify the receiver.
 int getDriverId()
          The driver with which the device is associated
 int getId()
          The device id
 long getTimestamp()
          This is when the player was last updated
 
Methods inherited from interface jreceiver.common.rec.Rec
getKey, setKey
 
Methods inherited from interface jreceiver.common.rec.Hashable
toHash, toString
 

Field Detail

HKEY_DEVICE_ID

public static final java.lang.String HKEY_DEVICE_ID

HKEY_DRIVER_ID

public static final java.lang.String HKEY_DRIVER_ID

HKEY_ADDRESS

public static final java.lang.String HKEY_ADDRESS

HKEY_TIMESTAMP

public static final java.lang.String HKEY_TIMESTAMP
Method Detail

getId

public int getId()
The device id

getDriverId

public int getDriverId()
The driver with which the device is associated

getAddress

public java.lang.String getAddress()
This address is a the network address by which to identify the receiver. It can be a name or IP address.

getTimestamp

public long getTimestamp()
This is when the player was last updated


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