$treeview $search $mathjax $extrastylesheet
CSTADLL  2.3.4
$projectbrief
$projectbrief
$searchbox

SamsungSCM Class Reference

Inheritance diagram for SamsungSCM:
IETF_CSTAp2 GenericCSTAp2

List of all members.

Public Member Functions

virtual CSTAResponseInfo LinkSetup (bool returnNumberPlan)
sealed override CSTAResponseInfo MakeACSEAssociation ()
 SamsungSCM (PBXSession sessionObject)
 SamsungSCM (string pbxSystem, int port)

Protected Member Functions

virtual int EncodeLinkSetupRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, bool returnNumberPlan)

Detailed Description

Implements CSTA phase 2 operations for the Samsung SCM PBX device.


Constructor & Destructor Documentation

SamsungSCM ( string  pbxSystem,
int  port 
)

Constructs an instance associated with the given PBX identifier and port.

Parameters:
pbxSystem Well-known name or IP address of the PBX.
port Port on which the PBX listens for CSTA messages.
SamsungSCM ( PBXSession  sessionObject  ) 

Constructs an instance associated with the given PBXSession object.

Parameters:
sessionObject A PBXSession object.

Member Function Documentation

virtual int EncodeLinkSetupRequest ( CSTAResponseInfo  response,
Asn1BerEncodeBuffer  encodeBuffer,
bool  returnNumberPlan 
) [protected, virtual]

Encodes the Samsung CSTA_LINK_SETUP message.

Parameters:
response A CSTAResponseInfo object.
encodeBuffer An encode buffer object into which the message will be encoded.
returnNumberPlan Indicates whether the user number plan is included in the response message.
Returns:
The length of the encoded message, or -1 if an error occurred.
virtual CSTAResponseInfo LinkSetup ( bool  returnNumberPlan  )  [virtual]

Establishes initial communication with the Samsung SCM.

Parameters:
returnNumberPlan Indicates whether the user number plan is included in the response message.
Returns:
A CSTAResponseInfo object.
sealed override CSTAResponseInfo MakeACSEAssociation (  )  [virtual]

Throws an exception since this PBX device doesn't do ACSE associations.

Returns:
Nothing. An exception is thrown.

Reimplemented from GenericCSTAp2.