|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ka2ddo.yaac.io.PortConfig.Cfg
public static class PortConfig.Cfg
Port-type-specific configuration parameters for a PortConnector.
Field Summary | |
---|---|
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 |
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 Summary | |
---|---|
PortConfig.Cfg()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
PortConfig.FLAGS_HF
,
PortConfig.FLAGS_UDP
,
PortConfig.FLAGS_LOCAL
public java.lang.String[] digiAliases
transmitAllowed
public int acceptableProtocolsMask
Connector.CAP_XMT_PACKET_DATA
,
Connector.CAP_WAYPOINT_SENDER
,
PortConfig.PROTOCOL_APRS
,
PortConfig.PROTOCOL_OPENTRAC
,
PortConfig.PROTOCOL_AX25
,
PortConfig.SENTENCE_NONE
,
PortConfig.SENTENCE_GPWPL
,
PortConfig.SENTENCE_PKWDWPL
public int timeslotCycleLength
public int timeslotOffset
Constructor Detail |
---|
public PortConfig.Cfg()
Method Detail |
---|
public 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.Object
obj
- 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.Object
equals(Object)
public 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 |