|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttuwien.auto.calimero.link.medium.KNXMediumSettings
public abstract class KNXMediumSettings
Container for device and medium specific settings for the KNX network.
Used by a KNX link interface to obtain medium/device information necessary to handle communication with the KNX network based on the particular communication medium.
Field Summary | |
---|---|
static short |
MEDIUM_PL110
KNX medium code for power line 110 kHz (1200 bit/s). |
static short |
MEDIUM_PL132
KNX medium code for power line 132 kHz (2400 bit/s), inherited from EHS. |
static short |
MEDIUM_RF
KNX medium code for radio frequency (868 MHz). |
static short |
MEDIUM_TP0
KNX medium code for twisted pair 0 (2400 bit/s), inherited from BatiBUS. |
static short |
MEDIUM_TP1
KNX medium code for twisted pair 1 (9600 bit/s). |
Constructor Summary | |
---|---|
protected |
KNXMediumSettings(IndividualAddress device)
Creates a new container for KNX device/medium settings. |
Method Summary | |
---|---|
IndividualAddress |
getDeviceAddress()
Returns the device individual address. |
abstract short |
getMedium()
Returns the KNX medium type identifier specifying the communication medium this setting object is for. |
java.lang.String |
getMediumString()
Returns a textual representation of the KNX medium type. |
void |
setDeviceAddress(IndividualAddress device)
Sets the device individual address. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short MEDIUM_PL110
public static final short MEDIUM_PL132
public static final short MEDIUM_RF
public static final short MEDIUM_TP0
public static final short MEDIUM_TP1
Constructor Detail |
---|
protected KNXMediumSettings(IndividualAddress device)
device
- individual device address to use as source address in KNX messages,
specifying null
uses the individual address 0.0.0Method Detail |
---|
public final IndividualAddress getDeviceAddress()
public abstract short getMedium()
public java.lang.String getMediumString()
getMedium()
public final void setDeviceAddress(IndividualAddress device)
device
- individual address to use as new source address in KNX messagespublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |