AbstractChannel

abstract base class for Channels

Inheritors

Types

Link copied to clipboard

Provider that will simply return the first uri of a ServiceAddress

Link copied to clipboard

provider that will iterate over all uris of the address

Link copied to clipboard
abstract class URIProvider(var address: ServiceAddress)

Base class for providers based on a ServiceAddress

Link copied to clipboard

A URIProviderFactory is a factory creating URIProviders

Properties

Link copied to clipboard
open override var address: ServiceAddress

return the associated ServiceAddress

Link copied to clipboard
open override val component: String

return the supported ComponentDescriptor

Link copied to clipboard
open override val name: String

return the channel name

Functions

Link copied to clipboard
open operator override fun invoke(target: Any, method: Method, args: Array<Any>): Any?
abstract operator fun invoke(invocation: MethodInvocation): Any?
Link copied to clipboard

set a round robin uri provider factory

Link copied to clipboard
open override fun setup()

setup the channel details based on the supplied address

Link copied to clipboard
open override fun topologyUpdate(newAddress: ServiceAddress)

react to topology updates

Link copied to clipboard

set the uri provider factory