ClearBox Server™ v1.2 Developer's Guide

IServer2

When to Implement

It's implemented by ClearBox Server, and used by server extension.

When to Use

First, server extension gets a pointer to IServer interface implementation in ICommonExtenderEx::InitializeEx method. Next, IServer2 interface can be queried calling QueryInterface method on IServer interface pointer.

This interface provides additional services that were not included in IServer.

Methods in Vtable Order

IServer2 Methods Description
LogExtensionError
Allows server extension to log its errors in server errors logfile.
IsDebugMode
Allows server extension to query server if it run in debug mode.
SetCookie
Allows server extension to store some data associated with a packet.
GetCookie
Allows server extension to retrieve some data associated with a packet and stored earlier.
ReadRADAttribute
Used by server extension to read and parse RADIUS attribute from a string.

Library

Declared in <server installation path>\SDK\CBServer.tlb

See Also

ICommonExtenderEx, Server services


© 2001-2003 XPerience Technologies. www.xperiencetech.com

Created by chm2web html help conversion utility.