ROTCPClientChannel Class

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for RemObjects SDK for Xcode
This page is generated from external data, please do not update

ProtocolsClassesEnumsAliasesImplements

Contents

Overview

The ROTCPClientChannel class is the legacy TCP channel implementation for Xcode.


Location

RemObjectsSDK/ROTCPClientChannel.h


Properties

delegate   protected assign     (declared in ROClientChannel)

Delegate object to receive events through the ROClientChannelDelegate protocol.



@property (assign) id delegate


isBusy   protected     (declared in ROClientChannel)



@property (readonly) BOOL isBusy


targetUrl   protected copy deprecated     (declared in ROClientChannel)



@property (copy, deprecated) NSString *targetUrl


timeout   assign

The maximum time for the client to wait for the server response. If the server response is not received or the number of bytes received is less than expected, a timeout exception occurs.



@property (assign) NSTimeInterval timeout


Class Methods

channel   protected     (declared in ROClientChannel)



+ (id) channel


channelWithTargetUrl: (NSString *): id   protected deprecated     (declared in ROClientChannel)



+ (id) channelWithTargetUrl:(NSString *)targetUrl


Parameters:

  • targetUrl:


channelWithTargetURL: (NSURL *): id   protected     (declared in ROClientChannel)



+ (id) channelWithTargetURL:(NSURL *)targetUrl


Parameters:

  • targetUrl:


Instance Methods

asyncDispatch:   protected deprecated     (declared in ROClientChannel)

for internal use; dispatches the given message asynchronously and returns an ROAsyncRequest reference. This method relies on The intAsyncDispatch:responseMessage: implementation provided by concrete client channel implementations for the actual dispatching.


- (ROAsyncRequest *) asyncDispatch:(id)aMessage


Parameters:

  • aMessage:


asyncDispatch:start:   protected deprecated     (declared in ROClientChannel)



- (ROAsyncRequest *) asyncDispatch:(id)aMessage start:(BOOL)start


Parameters:

  • aMessage:
  • start:


asyncDispatch:withProxy:start:   protected     (declared in ROClientChannel)



- (ROAsyncRequest *) asyncDispatch:(id)aMessage withProxy:(ROAsyncProxy *)proxy start:(BOOL)start


Parameters:

  • aMessage:
  • proxy:
  • start:


asyncDispatch:withProxy:startWithBlock:   protected     (declared in ROClientChannel)



- (ROAsyncRequest *) asyncDispatch:(id)aMessage withProxy:(ROAsyncProxy *)proxy startWithBlock:(void(^)(ROAsyncRequest *))block


Parameters:

  • aMessage:
  • proxy:
  • block:


dispatch:   protected     (declared in ROClientChannel)

for internal use; Dispatches the given message synchronously. This method relies on the intDispatch: implementation provided by concrete client channel implementations for the actual dispatching.


- (void) dispatch:(id)aMessage


Parameters:

  • aMessage:


initWithHost:port:

Initializes the channel assigning the server host name/address and the port number.
NOTE: since the Spring 2011 release, this approach is deprecated. Consider using generalized URL schemas instead.


- (id) initWithHost:(NSString *)aHost port:(unsigned int)aPort


Parameters:

  • aHost: The host name of the server or IP address. IPv6 addresses should be bracketed.
  • aPort: The port number of the server host to connect to.


initWithTargetUrl: (NSString *): id   protected deprecated     (declared in ROClientChannel)



- (id) initWithTargetUrl:(NSString *)aTargetUrl


Parameters:

  • aTargetUrl:


initWithTargetURL: (NSURL *): id   protected     (declared in ROClientChannel)



- (id) initWithTargetURL:(NSURL *)aTargetURL


Parameters:

  • aTargetURL:


See Also


Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript

GlossaryArticlesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox