---
name: "Script_Session"
section: "3"
platform: "linux"
package: "libccscript-dev"
version: "2.5.7-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Script_Session"
---

# Script\_Session(3)

This class holds an 'active' session handler that has been created by a 'slow' module handler. active session base class.

## NAME

Script::Session - This class holds an 'active' session handler that has been created by a 'slow' module handler. active session base class.

## SYNOPSIS

`#include <script.h>`

### Public Methods

virtual void **waitHandler** (void)=0\
 *Used to wait for operation completion.*

### Protected Methods

void **stepScheduler** (const char \*sighandler=NULL)\
 *Notify interpreter callback that the session is complete and pass an optional signal handler for stepping.* void **sleepScheduler** (timeout\_t delay)\
 *Notify interpreter callback that a timed operation is in progress.* **Session** (**ScriptInterp** \*interp)\
 *Base constructor.* virtual **~Session** ()\

### Friends

class **ScriptInterp**\

## DETAILED DESCRIPTION

This class holds an 'active' session handler that has been created by a 'slow' module handler. active session base class.

This provides a mechanism for active sessions to impliment thread-based callback and thread based session handlers in a generic fashion.

**Author:**  David Sugar \<dyfet@ostel.com\>

## MEMBER FUNCTION DOCUMENTATION

### void Script::Session::sleepScheduler (timeout\_t delay)` [protected]`

Notify interpreter callback that a timed operation is in progress.

Parameters:

- *time*

  *delay of operation.*

### void Script::Session::stepScheduler (const char \* sighandler = NULL)` [protected]`

*Notify interpreter callback that the session is complete and pass an optional signal handler for stepping.*

*Parameters:*

- *optional*

  *signal handler.*

## AUTHOR

*Generated automatically by Doxygen for ccScript from the source code.*
