PluginInformation class
Object for storing vital plugin information.
Constructors
- PluginInformation(String id, String? executable, int port, Declaration declaration, [CommunicationSecret? secret])
- Creates a PluginInformation with the given properties:
Properties
- declaration → Declaration
-
final
- executable → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- port → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret ↔ CommunicationSecret
-
getter/setter pair
Methods
-
getExecutable(
) → String? - The executable string required for starting the plugin.
-
getPort(
) → int - Gets the port of the plugin.
-
getSecret(
) → CommunicationSecret - The communication secret required for sending securely between two instances.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shallowClone(
) → Future< PluginInformation> -
toByteArray(
) → Future< List< ?int> > - Wrapper function to simplify serialization. @return the serializer object as byte array
-
toByteArrayStream(
ByteSink out) → void - Writes the current object to the output stream.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromByteArray(
List< int> buf) → Future<PluginInformation> - Wrapper function to simplify deserialization. @param buf the buffer to be read @return the deserialized object
-
fromByteArrayStream(
ByteStream in_) → Future< PluginInformation> - Reads objects from ByteArrayInputStream and stores them in map. @param in ByteArrayInputStream to be used @return the deserialized Storable String @throws IOException if value cannot be read
Constants
- serialVersionUID → const int