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:

isCallbackHolder

 

method isCallbackHolder: Boolean

 

Boolean isCallbackHolder()

setChannelCallback

 

method setChannelCallback(callback: IClientChannelCallback)

 

void setChannelCallback(IClientChannelCallback callback)

Parameters:

  • callback:

TargetUrl

 

property TargetUrl: URI read write;

 

URI TargetUrl { __get; __set; }

triggerOnLoginNeeded  protected

 

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

 

Boolean triggerOnLoginNeeded(Message message, Exception exception)

Parameters:

  • message:
  • exception:

 

TargetUrl

 

property TargetUrl: URI read write;

 

URI TargetUrl { __get; __set; }

 

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:

isCallbackHolder

 

method isCallbackHolder: Boolean

 

Boolean isCallbackHolder()

setChannelCallback

 

method setChannelCallback(callback: IClientChannelCallback)

 

void setChannelCallback(IClientChannelCallback callback)

Parameters:

  • callback:

triggerOnLoginNeeded  protected

 

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

 

Boolean triggerOnLoginNeeded(Message message, Exception exception)

Parameters:

  • message:
  • exception: