Index
All Classes and Interfaces|All Packages|Serialized Form
A
- acceptConnectionAsync() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Asynchronously wait for a websocket connection from the sender to be connected.
- AutoShutdownScheduledExecutor - Class in com.microsoft.azure.relay
- awaitTermination(long, TimeUnit) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
B
- BINARY - Enum constant in enum com.microsoft.azure.relay.WriteMode
- buildSignature(String, Duration) - Method in class com.microsoft.azure.relay.SharedAccessSignatureTokenProvider
C
- clear() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse.ResponseHeaderCollection
- close() - Method in class com.microsoft.azure.relay.HybridConnectionListener
- close() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
-
Sends the response to the client and releases the resources held by this RelayedHttpListenerResponse instance.
- close() - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Closes the websocket connection.
- closeAsync() - Method in interface com.microsoft.azure.relay.HybridConnectionChannel
-
Closes the connection with the remote websocket
- closeAsync() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Disconnects all connections from the cloud service
- closeAsync() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
-
Sends the response to the client asynchronously and releases the resources held by this RelayedHttpListenerResponse instance.
- closeAsync() - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Closes the connection with the remote websocket
- closeAsync(Duration) - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Disconnects all connections from the cloud service within the timeout
- closeAsync(CloseReason) - Method in interface com.microsoft.azure.relay.HybridConnectionChannel
-
Closes the connection with the remote websocket with a given CloseReason
- closeAsync(CloseReason) - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Closes the connection with the remote websocket with a given CloseReason
- com.microsoft.azure.relay - package com.microsoft.azure.relay
- ConnectionLostException - Exception Class in com.microsoft.azure.relay
- ConnectionLostException() - Constructor for exception class com.microsoft.azure.relay.ConnectionLostException
-
Creates a new instance of the ConnectionLostException class.
- ConnectionLostException(String) - Constructor for exception class com.microsoft.azure.relay.ConnectionLostException
-
Creates a new instance of the ConnectionLostException class with a specified error message.
- ConnectionLostException(String, Exception) - Constructor for exception class com.microsoft.azure.relay.ConnectionLostException
-
Creates a new instance of the ConnectionLostException class with a specified error message and a reference to the inner exception that is the cause of this exception.
- createAzureIdentityTokenProvider(TokenCredential) - Static method in class com.microsoft.azure.relay.TokenProvider
-
Construct a TokenProvider with a provided
TokenCredential. - createConnectionAsync() - Method in class com.microsoft.azure.relay.HybridConnectionClient
-
Establishes a new send-side HybridConnection and returns the websocket with established connections.
- createConnectionAsync(Map<String, List<String>>) - Method in class com.microsoft.azure.relay.HybridConnectionClient
-
Establishes a new send-side HybridConnection and returns the websocket with established connections.
- createSharedAccessSignatureTokenProvider(String) - Static method in class com.microsoft.azure.relay.TokenProvider
-
Construct a TokenProvider based on the provided Key Name and Shared Access Key.
- createSharedAccessSignatureTokenProvider(String, String) - Static method in class com.microsoft.azure.relay.TokenProvider
-
Construct a TokenProvider based on the provided Key Name and Shared Access Key.
- createTokenProvider() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
E
- EndpointNotFoundException - Exception Class in com.microsoft.azure.relay
- EndpointNotFoundException() - Constructor for exception class com.microsoft.azure.relay.EndpointNotFoundException
-
Creates a new instance of the EndpointNotFoundException class.
- EndpointNotFoundException(String) - Constructor for exception class com.microsoft.azure.relay.EndpointNotFoundException
-
Creates a new instance of the EndpointNotFoundException class with a specified error message.
- EndpointNotFoundException(String, Exception) - Constructor for exception class com.microsoft.azure.relay.EndpointNotFoundException
-
Creates a new instance of the EndpointNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
- EndpointNotFoundException(String, Exception, boolean) - Constructor for exception class com.microsoft.azure.relay.EndpointNotFoundException
-
Creates a new instance of the EndpointNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
- execute(Runnable) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
G
- getAcceptHandler() - Method in class com.microsoft.azure.relay.HybridConnectionListener
- getActivityId() - Method in class com.microsoft.azure.relay.TrackingContext
- getAddress() - Method in class com.microsoft.azure.relay.HybridConnectionClient
-
The address on which this HybridConnection will connect to.
- getAddress() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
The address on which to listen for HybridConnections.
- getAddress() - Method in class com.microsoft.azure.relay.TrackingContext
- getAudience() - Method in class com.microsoft.azure.relay.SecurityToken
- getConnectingHandler() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Returns the handler that will be run when the listener disconnects unexpectedly.
- getContext() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
- getCorePoolSize() - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- getEndpoint() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- getEntityPath() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- getExpiresAtUtc() - Method in class com.microsoft.azure.relay.SecurityToken
- getHeaders() - Method in class com.microsoft.azure.relay.RelayedHttpListenerRequest
- getHeaders() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
- getHttpMethod() - Method in class com.microsoft.azure.relay.RelayedHttpListenerRequest
- getInputStream() - Method in class com.microsoft.azure.relay.RelayedHttpListenerRequest
- getListener() - Method in class com.microsoft.azure.relay.RelayedHttpListenerContext
- getMaxWebSocketBufferSize() - Method in class com.microsoft.azure.relay.HybridConnectionListener
- getOfflineHandler() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Returns the handler which will be run after the listener has become offline.
- getOnlineHandler() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Returns the handler that will be run after the listener has established connection to the cloud service.
- getOperationTimeout() - Method in class com.microsoft.azure.relay.HybridConnectionClient
- getOperationTimeout() - Method in class com.microsoft.azure.relay.HybridConnectionListener
- getOperationTimeout() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- getOutputStream() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
- getRemoteEndPoint() - Method in class com.microsoft.azure.relay.RelayedHttpListenerRequest
- getRequest() - Method in class com.microsoft.azure.relay.RelayedHttpListenerContext
- getRequestHandler() - Method in class com.microsoft.azure.relay.HybridConnectionListener
- getResponse() - Method in class com.microsoft.azure.relay.RelayedHttpListenerContext
- getSharedAccessKey() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- getSharedAccessKeyName() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- getSharedAccessSignature() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- getStatusCode() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
- getStatusDescription() - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
- getToken() - Method in class com.microsoft.azure.relay.SecurityToken
- getTokenAsync(String, Duration) - Method in class com.microsoft.azure.relay.TokenProvider
-
Gets a SecurityToken for the given audience and duration
- getTokenProvider() - Method in class com.microsoft.azure.relay.HybridConnectionClient
- getTokenProvider() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
The TokenProvider for authenticating this HybridConnection listener.
- getTrackingContext() - Method in interface com.microsoft.azure.relay.HybridConnectionChannel
- getTrackingContext() - Method in class com.microsoft.azure.relay.HybridConnectionClient
- getTrackingContext() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
The TrackingContext for this listener.
- getTrackingContext() - Method in class com.microsoft.azure.relay.RelayedHttpListenerContext
- getTrackingContext() - Method in interface com.microsoft.azure.relay.RelayTraceSource
- getTrackingContext() - Method in class com.microsoft.azure.relay.WebSocketChannel
- getTrackingId() - Method in class com.microsoft.azure.relay.TrackingContext
- getUri() - Method in class com.microsoft.azure.relay.RelayedHttpListenerRequest
H
- HybridConnectionChannel - Interface in com.microsoft.azure.relay
- HybridConnectionClient - Class in com.microsoft.azure.relay
- HybridConnectionClient(String) - Constructor for class com.microsoft.azure.relay.HybridConnectionClient
-
Create a new HybridConnectionClient instance for initiating HybridConnections.
- HybridConnectionClient(String, String) - Constructor for class com.microsoft.azure.relay.HybridConnectionClient
-
Create a new HybridConnectionListener instance for initiating HybridConnections.
- HybridConnectionClient(URI) - Constructor for class com.microsoft.azure.relay.HybridConnectionClient
-
Create a new HybridConnectionClient instance for initiating HybridConnections where no client authentication is required.
- HybridConnectionClient(URI, TokenProvider) - Constructor for class com.microsoft.azure.relay.HybridConnectionClient
-
Create a new HybridConnectionClient instance for initiating HybridConnections with client authentication.
- HybridConnectionListener - Class in com.microsoft.azure.relay
- HybridConnectionListener(String) - Constructor for class com.microsoft.azure.relay.HybridConnectionListener
-
Create a new HybridConnectionListener instance for accepting HybridConnections.
- HybridConnectionListener(String, String) - Constructor for class com.microsoft.azure.relay.HybridConnectionListener
-
Creates a new instance of HybridConnectionListener from a connection string and the specified HybridConection path.
- HybridConnectionListener(URI, TokenProvider) - Constructor for class com.microsoft.azure.relay.HybridConnectionListener
-
Create a new HybridConnectionListener instance for accepting HybridConnections.
I
- invokeAll(Collection<? extends Callable<T>>) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- invokeAny(Collection<? extends Callable<T>>) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- isOnline() - Method in class com.microsoft.azure.relay.HybridConnectionListener
- isOpen() - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Checks whether the websocket connection is still open.
- isShutdown() - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- isTerminated() - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- isTransient() - Method in exception class com.microsoft.azure.relay.RelayException
-
A value indicating whether the exception is transient.
O
- onGetTokenAsync(String, Duration) - Method in class com.microsoft.azure.relay.SharedAccessSignatureTokenProvider
- onGetTokenAsync(String, Duration) - Method in class com.microsoft.azure.relay.TokenProvider
-
Implemented by derived TokenProvider types to generate their SecurityTokens.
- openAsync() - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Opens the HybridConnectionListener and registers it as a listener in ServiceBus.
- openAsync(Duration) - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Opens the HybridConnectionListener and registers it as a listener in ServiceBus.
P
- put(String, String) - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse.ResponseHeaderCollection
- putAll(Map<? extends String, ? extends String>) - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse.ResponseHeaderCollection
R
- readAsync() - Method in interface com.microsoft.azure.relay.HybridConnectionChannel
-
Receives byte messages from the remote sender asynchronously.
- readAsync() - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Receives byte messages from the remote sender asynchronously.
- readAsync(Duration) - Method in interface com.microsoft.azure.relay.HybridConnectionChannel
-
Receives byte messages from the remote sender asynchronously within a given timeout.
- readAsync(Duration) - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Receives byte messages from the remote sender asynchronously within a given timeout.
- readTextAsync() - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Receives text messages asynchronously.
- RelayConnectionStringBuilder - Class in com.microsoft.azure.relay
- RelayConnectionStringBuilder() - Constructor for class com.microsoft.azure.relay.RelayConnectionStringBuilder
-
Initializes a new instance of a RelayConnectionStringBuilder.
- RelayConnectionStringBuilder(String) - Constructor for class com.microsoft.azure.relay.RelayConnectionStringBuilder
-
Initializes a new instance of a RelayConnectionStringBuilder with a specified existing connection String.
- RelayedHttpListenerContext - Class in com.microsoft.azure.relay
- RelayedHttpListenerRequest - Class in com.microsoft.azure.relay
- RelayedHttpListenerResponse - Class in com.microsoft.azure.relay
- RelayedHttpListenerResponse.ResponseHeaderCollection - Class in com.microsoft.azure.relay
- RelayException - Exception Class in com.microsoft.azure.relay
- RelayException(String, Exception) - Constructor for exception class com.microsoft.azure.relay.RelayException
-
Creates a new instance of the RelayException class with a specified error message and a reference to the inner exception that is the cause of this exception.
- RelayTraceSource - Interface in com.microsoft.azure.relay
- remove(Object) - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse.ResponseHeaderCollection
- ResponseHeaderCollection() - Constructor for class com.microsoft.azure.relay.RelayedHttpListenerResponse.ResponseHeaderCollection
S
- schedule(Runnable, long, TimeUnit) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- SecurityToken - Class in com.microsoft.azure.relay
- setAcceptHandler(Function<RelayedHttpListenerContext, Boolean>) - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Installing a custom handler which can inspect request headers, control response headers, decide whether to accept or reject a websocket upgrade request, and control the status code/description if rejecting.
- setAudience(String) - Method in class com.microsoft.azure.relay.SecurityToken
- setConnectingHandler(Consumer<Throwable>) - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Sets the handler that will be run when the listener disconnects unexpectedly.
- setEndpoint(URI) - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- setEntityPath(String) - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- setExiresAtUtc(Instant) - Method in class com.microsoft.azure.relay.SecurityToken
- setMaxWebSocketBufferSize(int) - Method in class com.microsoft.azure.relay.HybridConnectionListener
- setOfflineHandler(Consumer<Throwable>) - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Sets the handler which will be run after the listener has become offline.
- setOnlineHandler(Runnable) - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Sets the handler that will be run after the listener has established connection to the cloud service.
- setOperationTimeout(Duration) - Method in class com.microsoft.azure.relay.HybridConnectionClient
- setOperationTimeout(Duration) - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- setRequestHandler(Consumer<RelayedHttpListenerContext>) - Method in class com.microsoft.azure.relay.HybridConnectionListener
-
Install a custom handler which will be run upon receiving a HTTP request.
- setSharedAccessKey(String) - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- setSharedAccessKeyName(String) - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- setSharedAccessSignature(String) - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- setStatusCode(int) - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
- setStatusDescription(String) - Method in class com.microsoft.azure.relay.RelayedHttpListenerResponse
- setTransient(boolean) - Method in exception class com.microsoft.azure.relay.RelayException
- SharedAccessSignatureTokenProvider - Class in com.microsoft.azure.relay
- SharedAccessSignatureTokenProvider(String) - Constructor for class com.microsoft.azure.relay.SharedAccessSignatureTokenProvider
- SharedAccessSignatureTokenProvider(String, String) - Constructor for class com.microsoft.azure.relay.SharedAccessSignatureTokenProvider
- SharedAccessSignatureTokenProvider(String, String, Charset) - Constructor for class com.microsoft.azure.relay.SharedAccessSignatureTokenProvider
- shutdown() - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- shutdownNow() - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- submit(Runnable) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- submit(Runnable, T) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
- submit(Callable<T>) - Method in class com.microsoft.azure.relay.AutoShutdownScheduledExecutor
T
- TEXT - Enum constant in enum com.microsoft.azure.relay.WriteMode
- TokenProvider - Class in com.microsoft.azure.relay
- TokenProvider() - Constructor for class com.microsoft.azure.relay.TokenProvider
-
Initializes a new instance of the TokenProvider class.
- toString() - Method in class com.microsoft.azure.relay.HybridConnectionClient
- toString() - Method in class com.microsoft.azure.relay.HybridConnectionListener
- toString() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
-
Creates a connectionString that represents the current object
- toString() - Method in class com.microsoft.azure.relay.RelayedHttpListenerContext
- toString() - Method in interface com.microsoft.azure.relay.RelayTraceSource
- toString() - Method in class com.microsoft.azure.relay.TrackingContext
-
Returns a String that represents the current object including the trackingId and the address if exists
- TrackingContext - Class in com.microsoft.azure.relay
V
- validate() - Method in class com.microsoft.azure.relay.RelayConnectionStringBuilder
- valueOf(String) - Static method in enum com.microsoft.azure.relay.WriteMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.microsoft.azure.relay.WriteMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WebSocketChannel - Class in com.microsoft.azure.relay
- writeAsync(ByteBuffer) - Method in interface com.microsoft.azure.relay.HybridConnectionChannel
-
Sends the data to the remote endpoint as binary.
- writeAsync(ByteBuffer) - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Sends the data to the remote endpoint as binary.
- writeAsync(ByteBuffer, Duration) - Method in interface com.microsoft.azure.relay.HybridConnectionChannel
-
Sends the data to the remote endpoint within a timeout as binary.
- writeAsync(ByteBuffer, Duration) - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Sends the data to the remote endpoint within a timeout as binary.
- WriteMode - Enum in com.microsoft.azure.relay
- writeTextAsync(String, Duration) - Method in class com.microsoft.azure.relay.WebSocketChannel
-
Sends the text data to the remote endpoint within a timeout in one of the WriteModes.
All Classes and Interfaces|All Packages|Serialized Form