geiger_api_connector library Null safety

Classes

CommunicationApi
Offers an API for all plugins to access the local toolbox.
DeclarationMismatchException
Exception is thrown if a mismatch in declaration is detected.
GeigerApi
The API provided by all communicator interfaces.
GeigerApiConnector
GeigerUrl
GEIGER communication URL object.
Hash
Represents a menu item for a list of items.
Message
MessageListener
Defines a listener for Messages.
MessageType
The type of message transferred.
PluginInformation
Object for storing vital plugin information.
PluginListener
Interface for plugins listening for events.
RecommendationNodeModel
SensorDataModel
StorableHashMap<K extends Serializer, V extends Serializer>
Serializable Hashmap.
StorableString
A serializable yet simple String object.

Extensions

DeclarationExtension
HashTypeExtension

Properties

instances Map<String, GeigerApi>
final

Functions

flushGeigerApiCache() → void
getGeigerApi(String executorOrId, [String? id, Declaration declaration = Declaration.doShareData]) Future<GeigerApi?>
Creates or gets an instance.
readObject(ByteStream inStream) Future<Serializer>
Read an object from ByteArrayInputStream. @param in the byteArrayInputStream to use @return return the object read @throws IOException if object cannot be read
recommendationNodeModelFromMap(String str) Map<String, RecommendationNodeModel>
recommendationNodeModelToMap(Map<String, RecommendationNodeModel> data) String
sensorDataModelFromMap(String str) Map<String, SensorDataModel>
sensorDataModelToMap(Map<String, SensorDataModel> data) String
writeObject(ByteSink out, Serializer o) → void
Write an object to ByteArrayOutputStream. @param out the ByteArrayOutputStream to use @param o the Object to write @throws IOException if object cannot be written

Enums

Declaration
The self declaration of the plugin.
HashType

Exceptions / Errors

CommunicationException
Exception signalling wrong communication.