class ZSESSION

Main Z39.50 Session Manager Class

Inheritance:

Public Methods

INT Close ()
INT GetDebugLevel ()
Get Debug Level
GDT_BOOLEAN GetOption (const INT Option)
Get Option
void GetProtocolVersion (INT *Version)
Get Protocol Version
void SetDebugLevel (INT Level)
Set Debug Level
ZSESSION ()
Create a Z39.50 Session
ZSESSION (const ZSESSION &OtherSession)
Create a Z39.50 Session
~ZSESSION ()
Destroy This Session

Protected Classes

enum
SEARCH
PRESENT
DELSET
RESOURCEREPORT
TRIGGERRESOURCECTRL
RESOURCECTRL
ACCESSCTRL
SCAN
SORT
RESERVED
EXTENDEDSERVICES
LEVEL1SEG
LEVEL2SEG
CONCURRENTOPS
NAMEDRESULTSETS
enum
open
closed

Protected Fields

c_dbname
INT c_debuglevel
REGISTRY* c_defaults
c_group
c_inifile
c_maxrecordsize
c_options
UINT c_port
INT4 c_prefmsgsize
STRING c_protocol_version
c_refid
TCPSOCK* c_tcp
c_timeout

Protected Methods

void ClearOptions ()
void LoadDefaultsFromCommandLine (int ac, char **argv, STRING & File, STRING & Group, STRING *LastGroup, STRING *LastFile)
Load Session Defaults
void LoadDefaultsFromFile (const STRING & Filename, const STRING & Group)
Load Session Defaults
void PrintConnectionDetails ()
PUCHR ReadPDU (INT4 *len, unsigned short *type)
Read a Z39.50 PDU
PUCHR ReadPresentPDU (INT4 *len, unsigned short *type)
Read a Present PDU
INT4 SendPDU (PZPDU pdu)
Send PDU over Network
INT4 SendPresentPDU (PZPDU pdu)
Send a Present PDU over the network
void SetExceptionalRecordSize (const INT4 Value)
Set Maximum Message Size Option
void SetOption (const INT Option, const GDT_BOOLEAN Value)
Set Session Option
void SetOptions (const STRING & Options)
Set Session Option
void SetPreferredMessageSize (const INT4 Value)
Set Session Message Size Option
void SetProtocolVersion (const STRING & Value)
Set Session protocol version Option

Protected

enum
SEARCH
PRESENT
DELSET
RESOURCEREPORT
TRIGGERRESOURCECTRL
RESOURCECTRL
ACCESSCTRL
SCAN
SORT
RESERVED
EXTENDEDSERVICES
LEVEL1SEG
LEVEL2SEG
CONCURRENTOPS
NAMEDRESULTSETS
enum
open
closed

Documentation

Main Z39.50 Session Manager Class
TCPSOCK* c_tcp

INT c_debuglevel

enum

open

closed

INT4 c_prefmsgsize

c_maxrecordsize

c_timeout

UINT c_port

STRING c_protocol_version

c_options

c_refid

c_group

c_inifile

c_dbname

PUCHR ReadPDU(INT4 *len, unsigned short *type)
Read a Z39.50 PDU

PUCHR ReadPresentPDU(INT4 *len, unsigned short *type)
Read a Present PDU

INT4 SendPDU(PZPDU pdu)
Send PDU over Network

INT4 SendPresentPDU(PZPDU pdu)
Send a Present PDU over the network

REGISTRY* c_defaults

void LoadDefaultsFromFile(const STRING & Filename, const STRING & Group)
Load Session Defaults

void LoadDefaultsFromCommandLine(int ac, char **argv, STRING & File, STRING & Group, STRING *LastGroup, STRING *LastFile)
Load Session Defaults

void SetProtocolVersion(const STRING & Value)
Set Session protocol version Option

void SetPreferredMessageSize(const INT4 Value)
Set Session Message Size Option

void SetExceptionalRecordSize(const INT4 Value)
Set Maximum Message Size Option

void ClearOptions()

void SetOption(const INT Option, const GDT_BOOLEAN Value)
Set Session Option

void SetOptions(const STRING & Options)
Set Session Option

enum

SEARCH

PRESENT

DELSET

RESOURCEREPORT

TRIGGERRESOURCECTRL

RESOURCECTRL

ACCESSCTRL

SCAN

SORT

RESERVED

EXTENDEDSERVICES

LEVEL1SEG

LEVEL2SEG

CONCURRENTOPS

NAMEDRESULTSETS

void PrintConnectionDetails()

ZSESSION()
Create a Z39.50 Session

ZSESSION(const ZSESSION &OtherSession)
Create a Z39.50 Session

~ZSESSION()
Destroy This Session

INT Close()

void SetDebugLevel(INT Level)
Set Debug Level

INT GetDebugLevel()
Get Debug Level

GDT_BOOLEAN GetOption(const INT Option)
Get Option

void GetProtocolVersion(INT *Version)
Get Protocol Version

Direct child classes:
ZSERVER
ZSERVER
ZCLIENT_BASE

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Z&oumlckler, Roland Wunderling
contact: doc++@zib.de