Skip navigation links
A C D E G I M N O P Q R S T U V 

A

acquire(long) - Method in class software.amazon.awssdk.crt.CrtResource
 
awsErrorString(int) - Static method in class software.amazon.awssdk.crt.CRT
Given an integer error code from an internal operation

C

ClientBootstrap - Class in software.amazon.awssdk.crt.io
This class wraps the aws_client_bootstrap from aws-c-io to provide a client context for all protocol stacks in the AWS Common Runtime.
ClientBootstrap(EventLoopGroup) - Constructor for class software.amazon.awssdk.crt.io.ClientBootstrap
Creates a new ClientBootstrap.
close() - Method in class software.amazon.awssdk.crt.io.ClientBootstrap
 
close() - Method in class software.amazon.awssdk.crt.io.EventLoopGroup
Stops the event loop group's tasks and frees all resources associated with the the group.
close() - Method in class software.amazon.awssdk.crt.io.SocketOptions
Frees the native resources for this set of socket options
close() - Method in class software.amazon.awssdk.crt.io.TlsContext
Frees all native resources associated with the context.
close() - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Frees the native resources associated with this instance
close() - Method in class software.amazon.awssdk.crt.mqtt.MqttClient
Cleans up the native resources associated with this client.
close() - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Disconnects if necessary, and frees native resources associated with this connection
connect(String, String, int) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Connect to the service endpoint and start a session without TLS.
connect(String, String, int, SocketOptions, TlsContext, boolean, int) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Connect to the service endpoint and start a session
createDefaultClient() - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
Helper which creates a default set of TLS options for the current platform
createWithMTLS(String, String) - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
Helper which creates TLS options using a certificate and private key
createWithMTLSPkcs12(String, String) - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
OSX only - Helper which creates TLS options using PKCS12
CRT - Class in software.amazon.awssdk.crt
This class is responsible for loading the aws-crt-jni shared lib for the current platform out of aws-crt-java.jar.
CRT() - Constructor for class software.amazon.awssdk.crt.CRT
 
CRT.UnknownPlatformException - Exception in software.amazon.awssdk.crt
 
CrtResource - Class in software.amazon.awssdk.crt
This wraps a native pointer to an AWS Common Runtime resource.
CrtResource() - Constructor for class software.amazon.awssdk.crt.CrtResource
 
CrtRuntimeException - Exception in software.amazon.awssdk.crt
This exception will be thrown by any exceptional cases encountered within the JNI bindings to the AWS Common Runtime

D

disconnect() - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Disconnects the current session

E

EventLoopGroup - Class in software.amazon.awssdk.crt.io
This class wraps the aws_event_loop_group from aws-c-io to provide access to an event loop for the MQTT protocol stack in the AWS Common Runtime.
EventLoopGroup(int) - Constructor for class software.amazon.awssdk.crt.io.EventLoopGroup
Creates a new event loop group for the I/O subsystem to use to run blocking I/O requests

G

getPayload() - Method in class software.amazon.awssdk.crt.mqtt.MqttMessage
Gets the message payload
getState() - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Returns the current connection state.
getTopic() - Method in class software.amazon.awssdk.crt.mqtt.MqttMessage
Gets the topic associated with this message
getValue() - Method in enum software.amazon.awssdk.crt.mqtt.QualityOfService
 

I

isAlpnSupported() - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
Returns whether or not ALPN is supported on the current platform

M

MqttClient - Class in software.amazon.awssdk.crt.mqtt
This class wraps aws-c-mqtt to provide the basic MQTT pub/sub functionalities via the AWS Common Runtime One MqttClient class is needed per application.
MqttClient() - Constructor for class software.amazon.awssdk.crt.mqtt.MqttClient
Creates a default MqttClient with no TLS and a ClientBootstrap constructed with default settings
MqttClient(ClientBootstrap) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttClient
Creates an MqttClient from the provided ClientBootstrap with no TLS
MqttClient(ClientBootstrap, TlsContext) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttClient
Creates an MqttClient from the provided ClientBootstrap and TlsContext
MqttConnection - Class in software.amazon.awssdk.crt.mqtt
This class wraps aws-c-mqtt to provide the basic MQTT pub/sub functionality via the AWS Common Runtime MqttConnection represents a single connection from one MqttClient to an MQTT service endpoint
MqttConnection(MqttClient) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttConnection
Constructs a new MqttConnection.
MqttConnection(MqttClient, MqttConnectionEvents) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttConnection
Constructs a new MqttConnection.
MqttConnection.ConnectionState - Enum in software.amazon.awssdk.crt.mqtt
 
MqttConnectionEvents - Interface in software.amazon.awssdk.crt.mqtt
Interface used to receive connection events from the CRT
MqttException - Exception in software.amazon.awssdk.crt.mqtt
This exception will be thrown by any exceptional cases encountered within the JNI bindings to the AWS Common Runtime
MqttException(String) - Constructor for exception software.amazon.awssdk.crt.mqtt.MqttException
 
MqttException(int) - Constructor for exception software.amazon.awssdk.crt.mqtt.MqttException
 
MqttMessage - Class in software.amazon.awssdk.crt.mqtt
Represents a single message to be published or that was published to a connection
MqttMessage(String, ByteBuffer) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttMessage
Constructs a new payload

N

native_ptr() - Method in class software.amazon.awssdk.crt.CrtResource
 

O

onConnectionInterrupted(int) - Method in interface software.amazon.awssdk.crt.mqtt.MqttConnectionEvents
connection was lost (or disconnected), reconnect will be attempted automatically until disconnect() is called
onConnectionResumed(boolean) - Method in interface software.amazon.awssdk.crt.mqtt.MqttConnectionEvents
called on first successful connect, and whenever a reconnect succeeds
overrideDefaultTrustStore(String, String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Helper function to provide a TlsContext-local trust store

P

ping() - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Sends a MQTT ping to the endpoint.
publish(MqttMessage, QualityOfService, boolean) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Publishes a message to a topic

Q

QualityOfService - Enum in software.amazon.awssdk.crt.mqtt
Quality of Service associated with a publish action or subscription [MQTT-4.3].

R

release() - Method in class software.amazon.awssdk.crt.CrtResource
 

S

setAlpnList(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the ALPN protocol list that will be provided when a TLS connection starts
setCaFile(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the root certificate to validate certificates against.
setCaPath(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the path to a local trust store to use for validation
setCertificatePath(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the path to the certificate that identifies this TLS host.
setLogin(String, String) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Sets the login credentials for the connection.
setMinimumTlsVersion(TlsContextOptions.TlsVersions) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the minimum acceptable TLS version that the TlsContext will allow
setPkcs12Password(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
OSX only - Sets the password for PKCS12
setPkcs12Path(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
OSX only - Sets the path to the PKCS12 file
setPrivateKeyPath(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the path to the private key for the certificate provided via setCertificatePath
setVerifyPeer(boolean) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Set whether or not the peer should be verified.
setWill(MqttMessage, QualityOfService, boolean) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Sets the last will and testament message to be delivered to a topic when this client disconnects
SocketOptions - Class in software.amazon.awssdk.crt.io
This class wraps the aws_socket_options from aws-c-io to provide access to TCP/UDP socket configuration in the AWS Common Runtime.
SocketOptions() - Constructor for class software.amazon.awssdk.crt.io.SocketOptions
Creates a new set of socket options
SocketOptions.SocketDomain - Enum in software.amazon.awssdk.crt.io
Socket communications domain
SocketOptions.SocketType - Enum in software.amazon.awssdk.crt.io
Socket type
software.amazon.awssdk.crt - package software.amazon.awssdk.crt
 
software.amazon.awssdk.crt.io - package software.amazon.awssdk.crt.io
 
software.amazon.awssdk.crt.mqtt - package software.amazon.awssdk.crt.mqtt
 
subscribe(String, QualityOfService, Consumer<MqttMessage>) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Subscribes to a topic

T

TlsContext - Class in software.amazon.awssdk.crt.io
This class wraps the aws_tls_context from aws-c-io to provide access to TLS configuration contexts in the AWS Common Runtime.
TlsContext(TlsContextOptions) - Constructor for class software.amazon.awssdk.crt.io.TlsContext
Creates a new TlsContext.
tlsContext() - Method in class software.amazon.awssdk.crt.mqtt.MqttClient
Get the TlsContext associated with this client
TlsContextOptions - Class in software.amazon.awssdk.crt.io
This class wraps the aws_tls_connection_options from aws-c-io to provide access to TLS configuration contexts in the AWS Common Runtime.
TlsContextOptions() - Constructor for class software.amazon.awssdk.crt.io.TlsContextOptions
Creates a new set of options that can be used to create a TlsContext
TlsContextOptions.TlsVersions - Enum in software.amazon.awssdk.crt.io
 

U

unsubscribe(String) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Unsubscribes from a topic

V

valueOf(String) - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketDomain
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.io.TlsContextOptions.TlsVersions
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.mqtt.MqttConnection.ConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.mqtt.QualityOfService
Returns the enum constant of this type with the specified name.
values() - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketDomain
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.io.TlsContextOptions.TlsVersions
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.mqtt.MqttConnection.ConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.mqtt.QualityOfService
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G I M N O P Q R S T U V 
Skip navigation links

Copyright © 2019. All rights reserved.