SDK Home Glossary Index Left Right Up

CommServerConfig class


Section contents


Overview

Defined in

ccomms.oxh

See Also

CommConfig


Construction / destruction


NewCommServerConfig - Constructor

Usage

this& = NewCommServerConfig&:

Description

Creates a comms server configuration object and returns a handle which allows the object to be manipulated.

Return Value
this& An value which represents the created object
Error Handling

If the object could not be created then an error is generated which should be trapped by an ONERR handler.

Example
  LOCAL this&

  this& = NewCommServerConfig&:
  DeleteCommServerConfig:(this&) 

DeleteCommServerConfig - Destructor

Usage

DeleteCommServerConfig:(BYREF this&)

Description

Destroys the comms server configuration object.

Arguments
BYREF this& A handle to a comms server configuration object
Example
  LOCAL this&

  this& = NewCommServerConfig&:
  DeleteCommServerConfig:(this&) 

Methods provided


CommServerConfigBufFlags

Usage

flags& = CommServerConfigBufFlags&:(this&)

Description

Either KCommBufferFull or KCommBufferPartial.

Arguments
this& A handle to a comms server configuration object
Returns
flags& The buffer flags

CommServerConfigBufSize

Usage

size& = CommServerConfigBufSize&:(this&)

Description

Size of server buffer if partial buffering is being used

Arguments
this& A handle to a comms server configuration object
Returns
size& Size of server buffer if partial buffering is being used

CommServerConfigSetBufFlags

Usage

CommServerConfigSetBufFlags:(this&,flags&)

Description

Either KCommBufferFull or KCommBufferPartialr.

Arguments
this& A handle to a comms server configuration object
flags& The buffer flags

CommServerConfigSetBufSize

Usage

CommServerConfigSetBufSize:(this&,size&)

Description

Sets the size of server buffer if partial buffering is being used

Arguments
this& A handle to a comms server configuration object
size& Size of server buffer if partial buffering is being used

  SDK Home Glossary Index Left Right Up