public static class Digipeater.BlacklistMask
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
blockMask
int value in map is bitmask indicating what is blocked for this callsign:
|
java.lang.String |
callsignSSID
Callsign-SSID of the blacklisted station.
|
static int |
MASK_BLOCK_ALL
All the defined blocking mask bits.
|
static int |
MASK_BLOCK_DIGIPEAT
Flag bit indicating the blacklisted station should not be digipeated.
|
static int |
MASK_BLOCK_ICONNECT
Flag bit indicating the blacklisted station should not be accepted when it tries to establish
a connected-mode AX.25 session with this station.
|
static int |
MASK_BLOCK_QUERY
Flag bit indicating the blacklisted station should not be answered when it queries this station.
|
static int |
MASK_BLOCK_RXIGATE
Flag bit indicating the blacklisted station should not be Rx I-gated.
|
static int |
MASK_BLOCK_TXIGATE
Flag bit indicating the blacklisted station should not be Tx I-gated.
|
int |
numBlocked
Number of messages discarded
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBlacklisted(int reasonMask)
Test if the specified callsign is on the blacklist for a specific reason.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
public static final int MASK_BLOCK_TXIGATE
blockMask
,
Constant Field Valuespublic static final int MASK_BLOCK_RXIGATE
blockMask
,
Constant Field Valuespublic static final int MASK_BLOCK_DIGIPEAT
blockMask
,
Constant Field Valuespublic static final int MASK_BLOCK_QUERY
blockMask
,
Constant Field Valuespublic static final int MASK_BLOCK_ICONNECT
blockMask
,
Constant Field Valuespublic static final int MASK_BLOCK_ALL
blockMask
,
Constant Field Valuespublic final java.lang.String callsignSSID
public int blockMask
public int numBlocked
public boolean isBlacklisted(int reasonMask)
reasonMask
- int bitmask of reason why thispublic java.lang.String toString()
toString
in class java.lang.Object