List of all members.
Detailed Description
Definition at line 281 of file dcuserid.h.
Constructor & Destructor Documentation
Copy constructor, does a deep copy of a class instance.
- Parameters:
-
rhs | - [in] The class instance to copy from |
- Returns:
- none
Member Function Documentation
virtual void UserIdentityNegotiationSubItemAC::clear |
( |
| ) |
[virtual] |
void UserIdentityNegotiationSubItemAC::dump |
( |
STD_NAMESPACE ostream & |
outstream | ) |
const [virtual] |
Dump content of this user identity sub item to output stream.
- Parameters:
-
outstream | - [out] The stream to dump to |
- Returns:
- none
Implements UserIdentityNegotiationSubItem.
Uint16 UserIdentityNegotiationSubItemAC::getServerResponse |
( |
char *& |
targetBuffer, |
|
|
Uint16 & |
resultLen |
|
) |
| const |
Returns content of server response field Memory is allocated by this function and must be freed by the caller.
- Parameters:
-
buffer | - [out] Content of server response field. NULL if not set. Memory of buffer must be freed by the caller. |
length | - [out] Length of returned buffer |
- Returns:
- none
Assignment operator, does a deep copy of a class instance.
- Parameters:
-
rhs | - [in] Right hand side of assignment |
- Returns:
- none
OFCondition UserIdentityNegotiationSubItemAC::parseFromBuffer |
( |
unsigned char * |
readBuffer, |
|
|
unsigned long & |
bytesRead, |
|
|
unsigned long |
availData |
|
) |
| [virtual] |
Parse sub item from buffer.
The buffer has to start with the correct user item type.
- Parameters:
-
readBuffer | - [in] The buffer to read from. The pointer to the buffer gets incremented by "bytesRead" bytes. |
bytesRead | - [out] Number of bytes read by this function |
availData | - [in] Size of the buffer. |
- Returns:
- EC_Normal if successful, error code otherwise
Implements UserIdentityNegotiationSubItem.
unsigned char UserIdentityNegotiationSubItemAC::pduType |
( |
| ) |
const [virtual] |
void UserIdentityNegotiationSubItemAC::setServerResponse |
( |
const char * |
rsp, |
|
|
const Uint16 & |
rspLen |
|
) |
| |
Sets server response value.
- Parameters:
-
buffer | - [in] Content of server response value (copied by function) |
length | - [in ] Length of buffer |
- Returns:
- none
OFCondition UserIdentityNegotiationSubItemAC::stream |
( |
unsigned char * |
targetBuffer, |
|
|
unsigned long & |
lengthWritten |
|
) |
| const [virtual] |
Stream the package into a byte stream for network transmission.
- Parameters:
-
targetBuffer | - [out] The buffer to stream to. |
lengthWritten | - [out] Number of bytes written to buffer |
- Returns:
- EC_Normal, if successful, error code otherwise
Implements UserIdentityNegotiationSubItem.
OFCondition UserIdentityNegotiationSubItemAC::streamedLength |
( |
unsigned long & |
length | ) |
const [virtual] |
Computes total length of item if streamed into buffer.
- Parameters:
-
length | - [out] The length of the item if streamed |
- Returns:
- EC_Normal if successful, error code otherwise
Implements UserIdentityNegotiationSubItem.
The documentation for this class was generated from the following file: