ClientChannel

Overview

ROClientChannel is the abstract base class for Client Channels implementations in Remoting SDK for Java.

You will usually not instantiate instances of this class itself, but use the descendant classes, such as HttpClientChannel.

Location

 

constructor

Creates ClientChannel.

 

constructor

 

ClientChannel()

constructor (URI)

 

constructor(targetUri: URI)

 

ClientChannel(URI targetUri)

Parameters:

  • targetUri:

asyncDispatch

Dispatches the given message asynchronously and returns an AsyncRequest object. Mainly for internal use.

 

method asyncDispatch(message: Message; proxy: AsyncProxy; start: Boolean; callback: IAsyncRequestCallback): AsyncRequest

 

AsyncRequest asyncDispatch(Message message, AsyncProxy proxy, Boolean start, IAsyncRequestCallback callback)

Parameters:

  • message:
  • proxy:
  • start: Given start.
  • callback: Given callback.

channelWithURI

 

class method channelWithURI(uri: URI): ClientChannel

 

static ClientChannel channelWithURI(URI uri)

Parameters:

  • uri:

dispatch

 

method dispatch(message: Message)

 

void dispatch(Message message)

Parameters:

  • message:

getClientLoginProvider

 

method getClientLoginProvider: LoginProvider

 

LoginProvider getClientLoginProvider()

getTargetUrl

Returns TargetUrl property.

 

method getTargetUrl: URI

 

URI getTargetUrl()

isCallbackHolder

 

method isCallbackHolder: Boolean

 

Boolean isCallbackHolder()

setChannelCallback

 

method setChannelCallback(callback: IClientChannelCallback)

 

void setChannelCallback(IClientChannelCallback callback)

Parameters:

  • callback:

setClientLoginProvider

 

method setClientLoginProvider(provider: LoginProvider)

 

void setClientLoginProvider(LoginProvider provider)

Parameters:

  • provider:

setTargetUrl

Sets TargetUrl property.

 

method setTargetUrl(value: URI)

 

void setTargetUrl(URI value)

Parameters:

  • value: Given URL.

triggerOnLoginNeeded

 

method triggerOnLoginNeeded(message: Message; exception: Exception): Boolean

 

Boolean triggerOnLoginNeeded(Message message, Exception exception)

Parameters:

  • message:
  • exception:

 

channelWithURI

 

class method channelWithURI(uri: URI): ClientChannel

 

static ClientChannel channelWithURI(URI uri)

Parameters:

  • uri:

 

constructor

Creates ClientChannel.

 

constructor

 

ClientChannel()

constructor (URI)

 

constructor(targetUri: URI)

 

ClientChannel(URI targetUri)

Parameters:

  • targetUri:

asyncDispatch

Dispatches the given message asynchronously and returns an AsyncRequest object. Mainly for internal use.

 

method asyncDispatch(message: Message; proxy: AsyncProxy; start: Boolean; callback: IAsyncRequestCallback): AsyncRequest

 

AsyncRequest asyncDispatch(Message message, AsyncProxy proxy, Boolean start, IAsyncRequestCallback callback)

Parameters:

  • message:
  • proxy:
  • start: Given start.
  • callback: Given callback.

dispatch

 

method dispatch(message: Message)

 

void dispatch(Message message)

Parameters:

  • message:

getClientLoginProvider

 

method getClientLoginProvider: LoginProvider

 

LoginProvider getClientLoginProvider()

getTargetUrl

Returns TargetUrl property.

 

method getTargetUrl: URI

 

URI getTargetUrl()

isCallbackHolder

 

method isCallbackHolder: Boolean

 

Boolean isCallbackHolder()

setChannelCallback

 

method setChannelCallback(callback: IClientChannelCallback)

 

void setChannelCallback(IClientChannelCallback callback)

Parameters:

  • callback:

setClientLoginProvider

 

method setClientLoginProvider(provider: LoginProvider)

 

void setClientLoginProvider(LoginProvider provider)

Parameters:

  • provider:

setTargetUrl

Sets TargetUrl property.

 

method setTargetUrl(value: URI)

 

void setTargetUrl(URI value)

Parameters:

  • value: Given URL.

triggerOnLoginNeeded

 

method triggerOnLoginNeeded(message: Message; exception: Exception): Boolean

 

Boolean triggerOnLoginNeeded(Message message, Exception exception)

Parameters:

  • message:
  • exception:

Descendants

See Also