Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PortManager Class Reference

A port manager is able to process calls in place of ccscript. Channel port control manager. More...

#include <bayonne.h>

List of all members.

Public Methods

virtual bool Step (void)=0
 Accept a step request. More...

virtual unsigned long getMask (void)=0
 Provide a signal mask. More...

virtual bool postSignal (trunksignal_t signal)=0
 Accept a signal event. More...

virtual bool postAccept (const char *name)=0
 Notify an accept has occured. More...

virtual void postDetach (void)=0
 Notify a detach has occured. More...


Protected Methods

 ~PortManager ()
 PortManager (Trunk *trk)
 Create a trunk manager and bind to a given trunk object. More...

void postStep (trunkstep_t step)
 Step a trunk in the same callback thread context. More...

bool postEvent (TrunkEvent *event)
 Post an event to the trunk. More...

trunkdata_tgetData (void)
 Return the trunk data segment. More...

execdata_tgetExec (void)
 Return the trunk exec segment. More...


Detailed Description

A port manager is able to process calls in place of ccscript. Channel port control manager.

This allows ports and the driver state engine to be directly controlled by an external dso if nessisary.

Author:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

PortManager::~PortManager   [inline, protected]
 

PortManager::PortManager Trunk *   trk [protected]
 

Create a trunk manager and bind to a given trunk object.

Parameters:
trunk   to bind to.


Member Function Documentation

virtual bool PortManager::Step void   [pure virtual]
 

Accept a step request.

trunkdata_t* PortManager::getData void   [inline, protected]
 

Return the trunk data segment.

Returns:
trunk data segment.

execdata_t* PortManager::getExec void   [inline, protected]
 

Return the trunk exec segment.

Returns:
trunk exec segment.

virtual unsigned long PortManager::getMask void   [pure virtual]
 

Provide a signal mask.

Returns:
mask

virtual bool PortManager::postAccept const char *   name [pure virtual]
 

Notify an accept has occured.

Returns:
true if accepting.
Parameters:
name   of script.

virtual void PortManager::postDetach void   [pure virtual]
 

Notify a detach has occured.

bool PortManager::postEvent TrunkEvent *   event [inline, protected]
 

Post an event to the trunk.

Returns:
true if complete.
Parameters:
trunk   event record.

virtual bool PortManager::postSignal trunksignal_t   signal [pure virtual]
 

Accept a signal event.

Returns:
true if not blocked.
Parameters:
signal   event.

void PortManager::postStep trunkstep_t   step [inline, protected]
 

Step a trunk in the same callback thread context.

Parameters:
step   to execute.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:17:04 2001 for Bayonne by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001