public class BlaubotConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCEPTOR_TYPE_RFCOMM_ANDROID_BLUETOOTH |
static java.lang.String |
ACCEPTOR_TYPE_RFCOMM_JSR82_BLUETOOTH |
static java.lang.String |
ACCEPTOR_TYPE_SOCKET_TCP |
static java.lang.String |
ACCEPTOR_TYPE_WEBSOCKET |
static java.lang.String |
ACCEPTOR_TYPE_WIFI_AP |
static java.lang.String |
BLAUBOT_BEACON_BONJOUR_SERVICE_NAME
Name of the bonjour path for blaubot beacons
|
static java.lang.String |
BLUETOOTH_ACCEPTORS_RFCOMM_SDP_SERVICE_NAME
The service name used for all RFCOMM based acceptors
|
static java.util.concurrent.Semaphore |
BLUETOOTH_ADAPTER_LOCK
A monitor that can be used to avoid concurrent bluetooth operations due to some
some bad bluetooth adapters that will fail when stressed.
|
static java.nio.ByteOrder |
BYTE_ORDER
The default byte order used within all Blaubot serializations
|
static short |
DEFAULT_CHANNEL_ID
Default channel id which is used, when no additional config was given
|
static int |
MAX_PAYLOAD_SIZE
Maximum payload size for BlaubotMessages in bytes.
== (max unsigned short value) - full blaubot message header length.
|
static byte |
MESSAGE_SCHEMA_VERSION
Current version of the message schema (used in every BlaubotMessage's header
|
static java.nio.charset.Charset |
STRING_CHARSET
Charset used for Strings
|
static int |
USHORT_MAX_VALUE
Max value of an unsigned short
|
Constructor and Description |
---|
BlaubotConstants() |
public static final java.util.concurrent.Semaphore BLUETOOTH_ADAPTER_LOCK
public static final java.nio.charset.Charset STRING_CHARSET
public static final java.nio.ByteOrder BYTE_ORDER
public static final short DEFAULT_CHANNEL_ID
public static final byte MESSAGE_SCHEMA_VERSION
public static final java.lang.String BLAUBOT_BEACON_BONJOUR_SERVICE_NAME
public static final int USHORT_MAX_VALUE
public static final int MAX_PAYLOAD_SIZE
public static final java.lang.String ACCEPTOR_TYPE_RFCOMM_JSR82_BLUETOOTH
public static final java.lang.String ACCEPTOR_TYPE_RFCOMM_ANDROID_BLUETOOTH
public static final java.lang.String ACCEPTOR_TYPE_SOCKET_TCP
public static final java.lang.String ACCEPTOR_TYPE_WIFI_AP
public static final java.lang.String ACCEPTOR_TYPE_WEBSOCKET
public static final java.lang.String BLUETOOTH_ACCEPTORS_RFCOMM_SDP_SERVICE_NAME