| Package | Description |
|---|---|
| net.sf.eBus.messages.type |
Provides classes for translating Java built-in types to and
from binary encoding.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMessageType
This non-abstract class is used for
abstract EMessageObject classes. |
class |
ArrayType
Provides binary serialization/de-serialization of an object
collection.
|
class |
BigDecimalType
Used to explicity serialize and de-serialize a
BigDecimal instance using the long value and
int scale. |
class |
BigIntegerType
Used to serialize and de-serialize a
BigInteger
instance using the byte[] returned by
BigInteger.toByteArray(). |
class |
BooleanType
Provides binary serialization/de-serialization of boolean
values.
|
class |
ByteType
Provides binary serialization/de-serialization of 1-byte
integer values.
|
class |
CharType
Provides binary serialization/de-serialization of 2-byte
character values.
|
class |
ClassType
This class is able to serialize and de-serialize a
class instance so that it may be sent
via an eBus message. |
class |
ConcreteMessageType
Base class for concrete message types.
|
class |
DateType
Provides binary serialization/de-serialization of
java.util.Date values. |
class |
DoubleType
Provides binary serialization/de-serialization of 8-byte
decimal values.
|
class |
DurationType
Provides binary serialization/de-serialization of
java.time.Duration values. |
class |
EnumType
Provides binary serialization/de-serialization of
java.lang.Enum instances. |
class |
FieldListType
Provides binary serialization/de-serialization for
EFieldList. |
class |
FileType
This class is able to serialize and de-serialize a
file instance so that it may be sent
via an eBus message. |
class |
FloatType
Provides binary serialization/de-serialization of 4-byte
decimal values.
|
class |
InetAddressType
This class is able to serialize and de-serialize an
InetAddress which may be either an
IPv4 or
IPv6 address. |
class |
InetSocketAddressType
This class serializes and de-serializes an
InetSocketAddress which may contain either an
IPv4 or
IPv6 address. |
class |
InstantType
Provides binary serialization/de-serialization of
java.time.Instant values. |
class |
IntType
Provides binary serialization/de-serialization of 4-byte
integer values.
|
class |
LocalDateTimeType
Provides binary serialization/de-serialization of
java.time.LocalDateTime values. |
class |
LocalDateType
Provides binary serialization/de-serialization of
java.time.LocalDate values. |
class |
LocalMessageType
This type defines
EMessageObject
sub-classes which are annotated with
ELocalOnly. |
class |
LocalTimeType
Provides binary serialization/de-serialization of
java.time.LocalTime values. |
class |
LongType
Provides binary serialization/de-serialization of 8-byte
integer values.
|
class |
MessageKeyType
This class serializes/de-serializes a
EMessageKey so
that it may be sent via an EMessage. |
class |
MessageListType
Provides binary serialization/de-serialization for
EMessageList. |
class |
MessageType
This class provides binary serialization/de-serialization for
a unique
EMessageObject sub-class. |
class |
MonthDayType
Provides binary serialization/de-serialization of
java.time.MonthDay values. |
class |
OffsetDateTimeType
Provides binary serialization/de-serialization of
java.time.OffsetDateTime values. |
class |
OffsetTimeType
Provides binary serialization/de-serialization of
java.time.OffsetTime values. |
class |
PeriodType
Provides binary serialization/de-serialization of
java.time.Period values. |
class |
ShortType
Provides binary serialization/de-serialization of 2-byte
integer values.
|
class |
StringType
Provides binary serialization/de-serialization of
java.lang.String objects. |
class |
UriType
Provides binary serialization of a
URI
instance. |
class |
YearMonthType
Provides binary serialization/de-serialization of
java.time.YearMonth values. |
class |
YearType
Provides binary serialization/de-serialization of
java.time.Year values. |
class |
ZonedDateTimeType
Provides binary serialization/de-serialization of
java.time.ZonedDateTime values. |
class |
ZoneIdType |
class |
ZoneOffsetType
Provides binary serialization/de-serialization of
java.time.ZoneOffset values. |
| Modifier and Type | Method and Description |
|---|---|
DataType |
MessageType.MessageField.dataType()
Returns the eBus data type.
|
static DataType |
DataType.findType(Class<?> jClass)
Returns the data type object associated with the class.
|
DataType |
ArrayType.subtype()
Returns the array subtype.
|
| Modifier and Type | Method and Description |
|---|---|
static List<MultiKey2<String,DataType>> |
DataType.fields(Class<? extends EMessageObject> mc)
Returns the specified message class or field class
field name, data type pairs.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DataType.compareTo(DataType dataType)
Returns an integer value < zero, zero or > 0 if
this data type is <, equals or >
findType. |
| Constructor and Description |
|---|
ArrayType(Class<?> jClass,
DataType subtype)
Creates an array type which encapsulates the specified
data type.
|
MessageField(int index,
String name,
MethodHandle field,
DataType eType,
String charset,
boolean optFlag)
Stores the layout field attributes.
|
Copyright © 2019. All rights reserved.