PATH  WebObjects 4.0 Documentation > InformixEOAdaptor Reference



InformixChannel

Inherits From:
EOAdaptorChannel : NSObject

Declared in: InformixEOAdaptor/InformixChannel.h
InformixEOAdaptor/InformixDescription.h


Class Description

An InformixChannel represents an independent communication channel to the database server its InformixAdaptor is connected to. All of an InformixChannel's operations take place within the context of transactions controlled or tracked by its InformixContext. An InformixContext can manage multiple InformixChannels, and a channel is associated with only one context.

The features InformixChannel adds to EOAdaptorChannel are as follows:


Method Types

Getting the cursor data area
- cursorDataArea
Setting the isolation level
- informixSetIsolationTo:
Setting the fetch buffer length
- setFetchBufferLength:
- fetchBufferLength

Instance Methods


cursorDataArea

- (struct informix_cursor *)cursorDataArea

If the channel is connected, returns an Informix-specific data structure describing characteristics of the channel. Otherwise, returns NULL.


fetchBufferLength

- (unsigned)fetchBufferLength

Returns the size, in bytes, of the fetch buffer. The larger the buffer, the more rows can be returned for each round trip to the server.

See also: - setFetchBufferLength:


informixSetIsolationTo:

- (void)informixSetIsolationTo:(InformixIsolationLevel)isol

Sets to isolationLevel the isolation transaction level of the connection represented by the receiver.


setFetchBufferLength:

- (void)setFetchBufferLength:(unsigned)length

Sets to length the size, in bytes, of the fetch buffer. The larger the buffer, the more rows can be returned for each round trip to the server.

See also: - fetchBufferLength





Copyright © 1998, Apple Computer, Inc. All rights reserved.