Class TransportConverter.ConverterInstances<T>
java.lang.Object
de.iip_ecosphere.platform.services.environment.services.TransportConverter.ConverterInstances<T>
- Type Parameters:
T- the data type
- Enclosing class:
TransportConverter<T>
Represents a pair of server/converter created together.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TransportConverter<T> private de.iip_ecosphere.platform.support.Server -
Constructor Summary
ConstructorsModifierConstructorDescriptionConverterInstances(TransportConverter<T> converter) Creates an instance without server.protectedConverterInstances(de.iip_ecosphere.platform.support.Server server, TransportConverter<T> converter) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the converter.de.iip_ecosphere.platform.support.ServerReturns the server.
-
Field Details
-
server
private de.iip_ecosphere.platform.support.Server server -
converter
-
-
Constructor Details
-
ConverterInstances
Creates an instance without server.- Parameters:
converter- the converter
-
ConverterInstances
protected ConverterInstances(de.iip_ecosphere.platform.support.Server server, TransportConverter<T> converter) Creates an instance.- Parameters:
server- the server (may be null for none)converter- the converter
-
-
Method Details
-
getServer
public de.iip_ecosphere.platform.support.Server getServer()Returns the server.- Returns:
- the server (may be null for none)
-
getConverter
Returns the converter.- Returns:
- the converter
-