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

 

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

 

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

Parameters:

  • message:
  • proxy:
  • start:
  • 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

 

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

 

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

Parameters:

  • message:
  • proxy:
  • start:
  • 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:

Descendants

See Also