Yate
Public Member Functions | Protected Member Functions
SCCPUser Class Reference

Abstract SS7 SCCP user interface. More...

#include <yatesig.h>

Inheritance diagram for SCCPUser:
SignallingComponent RefObject DebugEnabler GenObject SS7TCAP SS7TCAPANSI SS7TCAPITU

List of all members.

Public Member Functions

 SCCPUser (const NamedList &params)
virtual ~SCCPUser ()
virtual bool initialize (const NamedList *config)
virtual bool sendData (DataBlock &data, NamedList &params)
virtual bool sccpNotify (SCCP::Type type, NamedList &params)
virtual HandledMSU receivedData (DataBlock &data, NamedList &params)
virtual HandledMSU notifyData (DataBlock &data, NamedList &params)
virtual bool managementNotify (SCCP::Type type, NamedList &params)
virtual void attach (SCCP *sccp)
SCCPsccp () const

Protected Member Functions

virtual void destroyed ()

Detailed Description

Abstract SS7 SCCP user interface.

An interface to a SS7 Signalling Connection Control Part user


Constructor & Destructor Documentation

SCCPUser ( const NamedList params)

Constructor

virtual ~SCCPUser ( ) [virtual]

Destructor, detaches from the SCCP implementation


Member Function Documentation

virtual void attach ( SCCP sccp) [virtual]

Attach as user to a SCCP

Parameters:
sccpPointer to the SCCP to use NOTE: This method will deref the pointer is is the same with the one that we already have!! When this method is called the sccp pointer reference counter must be incremented for this SCCPUser.
virtual void destroyed ( ) [protected, virtual]

This method is called to clean up and destroy the object after the reference counter becomes zero

Reimplemented from SignallingComponent.

virtual bool initialize ( const NamedList config) [virtual]

Configure and initialize the component and any subcomponents it may have

Parameters:
configOptional configuration parameters override
Returns:
True if the component was initialized properly

Reimplemented from SignallingComponent.

Reimplemented in SS7TCAP.

virtual bool managementNotify ( SCCP::Type  type,
NamedList params 
) [virtual]

Notification from SCCP management about pointcodes status, OOS responses/indications, subsystems status

Parameters:
typeThe type of notification
paramsList of parameters
Returns:
False on error

Reimplemented in SS7TCAP.

virtual HandledMSU notifyData ( DataBlock data,
NamedList params 
) [virtual]

Notification from SCCP that a message failed to arrive to it's destination

Parameters:
dataUser data send.
paramsSCCP parameters Note! The data may not contain the full message block previously sent (in case of SCCP segmentation), but it must always must contain the first segment

Reimplemented in SS7TCAP.

virtual HandledMSU receivedData ( DataBlock data,
NamedList params 
) [virtual]

Notification from SCCP that a message has arrived

Parameters:
dataReceived user data
paramsSCCP parameters
Returns:
True if this user has processed the message, false otherwise

Reimplemented in SS7TCAP.

SCCP* sccp ( ) const [inline]

Retrieve the SCCP to which this component is attached

Returns:
Pointer to the attached SCCP or NULL
virtual bool sccpNotify ( SCCP::Type  type,
NamedList params 
) [virtual]

Send a request/ notification to sccp regarding a subsystem status

Parameters:
typeThe type of request / notification
paramsList of parameters
Returns:
True if sccp management has processed the request / notification.
virtual bool sendData ( DataBlock data,
NamedList params 
) [virtual]

Send a message to SCCP for transport

Parameters:
dataUser data
paramsSCCP parameters Note! If the request is made with return option set there is no warranty that a notification will be received in case that the message failed to be delivered

Reimplemented in SS7TCAP.


The documentation for this class was generated from the following file: