Enum TransmitterSubscriptionType
- java.lang.Object
-
- java.lang.Enum<TransmitterSubscriptionType>
-
- de.bsvrz.dav.daf.communication.lowLevel.telegrams.TransmitterSubscriptionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransmitterSubscriptionType>
,java.lang.constant.Constable
public enum TransmitterSubscriptionType extends java.lang.Enum<TransmitterSubscriptionType>
-
-
Method Summary
Modifier and Type Method Description static TransmitterSubscriptionType
fromByte(byte b)
byte
toByte()
static TransmitterSubscriptionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransmitterSubscriptionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sender
public static final TransmitterSubscriptionType Sender
Anmeldung als Sender bei einem remote-Zentraldatenverteiler, welcher die Funktion einer Senke übernimmt.
-
Receiver
public static final TransmitterSubscriptionType Receiver
Anmeldung als Empfänger bei einem remote-Zentraldatenverteiler, welcher die Funktion einer Quelle übernimmt.
-
-
Method Detail
-
values
public static TransmitterSubscriptionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransmitterSubscriptionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toByte
public byte toByte()
-
fromByte
public static TransmitterSubscriptionType fromByte(byte b)
-
-