SiemensCap Class Reference
Inheritance diagram for SiemensCap:
Public Member Functions | |
CSTAResponseInfo | MakeACSEAssociation (string appid, string login, string passwd, bool nativeMode, CSTAVersion cv) |
CSTAResponseInfo | MakeACSEAssociation (string appid, string login, string passwd, bool nativeMode) |
CSTAResponseInfo | MakeACSEAssociation (string login, string passwd) |
SiemensCap (PBXSession sessionObject) | |
SiemensCap (string pbxSystem, int port) | |
Protected Member Functions | |
override int | EncodeACSEConnectionRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer) |
Detailed Description
Implements CSTA phase 3 operations for the Siemens CAP PBX device.
Constructor & Destructor Documentation
SiemensCap | ( | 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.
SiemensCap | ( | PBXSession | sessionObject | ) |
Constructs an instance associated with the given PBXSession object.
- Parameters:
-
sessionObject A PBXSession object.
Member Function Documentation
override int EncodeACSEConnectionRequest | ( | CSTAResponseInfo | response, | |
Asn1BerEncodeBuffer | encodeBuffer | |||
) | [protected, virtual] |
Encodes an ACSE Association Request message.
- Parameters:
-
response A CSTA ResponseInfo object. encodeBuffer An encode buffer object into which the message will be encoded.
- Returns:
- The length of the encoded message, or -1 if an error occurred.
Reimplemented from GenericCSTAp3.
CSTAResponseInfo MakeACSEAssociation | ( | string | appid, | |
string | login, | |||
string | passwd, | |||
bool | nativeMode, | |||
CSTAVersion | cv | |||
) |
Establish an ACSE association with the PBX using the specified arguments.
- Parameters:
-
appid The application id to be encoded into the ACSE Association Request. login The login to be encoded into the ACSE Association Request. passwd The password to be encoded into the ACSE Association Request. nativeMode If true, "native=true" will be included in the ACSE Association Request. If false, "native=true" will not be included. cv A CSTAVersion object representing the CSTA version to encode into the ACSE Association Request.
- Returns:
- A CSTAResponseInfo object.
CSTAResponseInfo MakeACSEAssociation | ( | string | appid, | |
string | login, | |||
string | passwd, | |||
bool | nativeMode | |||
) |
Establish an ACSE association with the PBX using the specified arguments.
- Parameters:
-
appid The application id to be encoded into the ACSE Association Request. login The login to be encoded into the ACSE Association Request. passwd The password to be encoded into the ACSE Association Request. nativeMode If true, "native=true" will be included in the ACSE Association Request. If false, "native=true" will not be included.
- Returns:
- A CSTAResponseInfo object.
CSTAResponseInfo MakeACSEAssociation | ( | string | login, | |
string | passwd | |||
) |
Establish an ACSE association with the PBX using a specified login and password.
- Parameters:
-
login The login to be encoded into the ACSE Association Request. passwd The password to be encoded into the ACSE Association Request.
- Returns:
- A CSTAResponseInfo object.