public interface Binder<T>
| Modifier and Type | Method and Description |
|---|---|
T |
decode(DbusObject object) |
DbusObject |
encode(T obj) |
TypeDefinition |
getType() |
static <T> Binder<T> |
of(TypeDefinition type,
java.util.function.Function<DbusObject,T> decoder,
java.util.function.Function<T,DbusObject> encoder) |
static <T> Binder<T> of(TypeDefinition type, java.util.function.Function<DbusObject,T> decoder, java.util.function.Function<T,DbusObject> encoder)
TypeDefinition getType() throws TypeNotAvailableException
TypeNotAvailableExceptionT decode(DbusObject object)
DbusObject encode(T obj)
Copyright © 2017. All rights reserved.