---
name: "Script_Session"
section: "3cc"
platform: "linux"
package: "libccscript-dev"
version: "2.5.9-1+b1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/Script_Session/3cc"
---

# Script\_Session(3cc)

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 Member Functions

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

### Protected Member Functions

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.*

### 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.
