#include <bayonne.h>
Inheritance diagram for ost::BayonneSpan:

Public Member Functions | |
| BayonneSpan (BayonneDriver *d, timeslot_t count) | |
| Create a span for a specified number of timeslots. | |
| BayonneSession * | getTimeslot (timeslot_t id) |
| Get the session associated with the nth timeslot of the span. | |
| timeslot_t | getFirst (void) |
| Get the first server timeslot of this span. | |
| timeslot_t | getCount (void) |
| Return total number of server timeslots in this span. | |
| unsigned | getId (void) |
| Get the id associated with this span. | |
| BayonneDriver * | getDriver (void) |
| Get driver associated with this span. | |
| unsigned | getAvail (void) |
| Get number of call slots still available. | |
Static Public Member Functions | |
| static BayonneSpan * | get (unsigned id) |
| Get a span by a global span id. | |
| static void | allocate (unsigned count=0) |
| Allocate the total number of spans this server will support. | |
| static unsigned | getSpans (void) |
| Return total spans in use. | |
Protected Attributes | |
| unsigned | id |
| BayonneDriver * | driver |
| BayonneSpan * | next |
| timeslot_t | timeslot |
| timeslot_t | count |
| timeslot_t | used |
Static Protected Attributes | |
| static BayonneSpan * | first |
| static BayonneSpan * | last |
| static unsigned | spans |
| static BayonneSpan ** | index |
Friends | |
| class __EXPORT | BayonneSession |
| class __EXPORT | BayonneDriver |
|
||||||||||||
|
Create a span for a specified number of timeslots.
|
|
|
Allocate the total number of spans this server will support.
|
|
|
Get a span by a global span id.
|
|
|
Get number of call slots still available.
|
|
|
Return total number of server timeslots in this span.
|
|
|
Get driver associated with this span.
|
|
|
Get the first server timeslot of this span.
|
|
|
Get the id associated with this span.
|
|
|
Return total spans in use.
|
|
|
Get the session associated with the nth timeslot of the span.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6