public static class PortConfig.Cfg extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PortConfig.Cfg>
| Modifier and Type | Field and Description |
|---|---|
int |
acceptableProtocolsMask
Bit mask or enum number of protocols that can be transmitted through this port.
|
int |
baudRate
The baud rate used for the port, if needed, or port number for TCP and UDP socket connections.
|
java.lang.String[] |
beaconNames
Names of beacon instances to send through this port (zero-length array means only default beacon).
|
java.lang.String |
callsign
The amateur radio station callsign associated with this port, if needed.
|
java.lang.String |
deviceName
The device name or network host name/address associated with this port.
|
java.lang.String[] |
digiAliases
Array of digipeat alias Strings for which this port will digipeat (if transmitAllowed is true).
|
java.lang.String |
filter
Any filter expression associated with this port, if needed.
|
int |
flags
A collection of flag bits indicating other attributes of the port configuration.
|
boolean |
flowControlled
Indicates whether flow control is enabled on this port.
|
java.lang.String |
passcode
The authentication passcode associated with this port, if needed.
|
int |
timeslotCycleLength
Number of seconds in a timeslot cycle, which will be aligned to UTC and the Unix epoch time
(if some weird prime number is used).
|
int |
timeslotOffset
Number of seconds since the start of a cycle when this port is allowed to transmit,
|
boolean |
transmitAllowed
Indicates whether messages can be transmitted from YAAC via this port.
|
| Constructor and Description |
|---|
Cfg() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PortConfig.Cfg o)
Compares this object with the specified object for order.
|
PortConfig.Cfg |
dup()
Make a deep copy of this Cfg object.
|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
public java.lang.String deviceName
public int baudRate
public java.lang.String callsign
public java.lang.String passcode
public java.lang.String filter
public boolean transmitAllowed
public boolean flowControlled
public int flags
public java.lang.String[] digiAliases
transmitAllowedpublic int acceptableProtocolsMask
public int timeslotCycleLength
public int timeslotOffset
public java.lang.String[] beaconNames
BeaconData,
BeaconData.MYCALL,
BeaconData.beaconNamepublic PortConfig.Cfg dup()
public int compareTo(PortConfig.Cfg o)
compareTo in interface java.lang.Comparable<PortConfig.Cfg>o - the object to be compared.java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this object.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.true if this object is the same as the obj
argument; false otherwise.public int hashCode()
hashCode in class java.lang.Objectequals(Object)public java.lang.String toString()
toString in class java.lang.Object