Package | Description |
---|---|
no.petroware.jwitsml.etp | |
no.petroware.jwitsml.util |
Modifier and Type | Method and Description |
---|---|
static EtpEncoding |
EtpEncoding.get(String tag)
Get encoding based on tag string.
|
static EtpEncoding |
EtpEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtpEncoding[] |
EtpEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<EtpEncoding> |
EtpServerCapabilities.getSupportedEncodings()
Return ETP server supported communication encodings.
|
Modifier and Type | Method and Description |
---|---|
EtpSession |
EtpServer.newReadSession(EtpEncoding encoding)
Create a new ETP communication session.
|
EtpSession |
EtpServer.newWriteSession(EtpEncoding encoding) |
Modifier and Type | Method and Description |
---|---|
static <T extends org.apache.avro.specific.SpecificRecord> |
AvroUtil.decode(EtpEncoding encoding,
byte[] bytes,
Class<T> clazz)
Avro decode the specified byte stream.
|
static <T extends org.apache.avro.specific.SpecificRecord> |
AvroUtil.encode(EtpEncoding encoding,
T... instances)
Avro encode the specified set of instances.
|
static <T extends org.apache.avro.specific.SpecificRecord> |
AvroUtil.encode(EtpEncoding encoding,
T instance)
Avro encode the specified instance.
|
Copyright © 2023 Petroware AS - https://petroware.no