Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes
nsSSLSocketThreadData Class Reference

#include <nsNSSIOLayer.h>

Collaboration diagram for nsSSLSocketThreadData:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ssl_state {
  ssl_idle, ssl_pending_write, ssl_pending_read, ssl_writing_done,
  ssl_reading_done
}

Public Member Functions

 nsSSLSocketThreadData ()
 ~nsSSLSocketThreadData ()
PRBool ensure_buffer_size (PRInt32 amount)

Public Attributes

ssl_state mSSLState
PRErrorCode mPRErrorCode
char * mSSLDataBuffer
PRInt32 mSSLDataBufferAllocatedSize
PRInt32 mSSLRequestedTransferAmount
const char * mSSLRemainingReadResultData
PRInt32 mSSLResultRemainingBytes
PRFileDescmReplacedSSLFileDesc
PRBool mOneBytePendingFromEarlierWrite
unsigned char mThePendingByte
PRInt32 mOriginalRequestedTransferAmount

Detailed Description

Definition at line 66 of file nsNSSIOLayer.h.


Member Enumeration Documentation

Enumerator:
ssl_idle 
ssl_pending_write 
ssl_pending_read 
ssl_writing_done 
ssl_reading_done 

Definition at line 74 of file nsNSSIOLayer.h.

                 { 
    ssl_idle,          // not in use by SSL thread, no activity pending
    ssl_pending_write, // waiting for SSL thread to complete writing
    ssl_pending_read,  // waiting for SSL thread to complete reading
    ssl_writing_done,  // SSL write completed, results are ready
    ssl_reading_done   // SSL read completed, results are ready
  };

Constructor & Destructor Documentation

Definition at line 157 of file nsNSSIOLayer.cpp.

{
  NS_ASSERTION(mSSLState != ssl_pending_write
               &&
               mSSLState != ssl_pending_read, 
               "oops??? ssl socket is not idle at the time it is being destroyed");
}

Member Function Documentation

Definition at line 165 of file nsNSSIOLayer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 118 of file nsNSSIOLayer.h.

Definition at line 120 of file nsNSSIOLayer.h.

Definition at line 86 of file nsNSSIOLayer.h.

Definition at line 116 of file nsNSSIOLayer.h.

Definition at line 89 of file nsNSSIOLayer.h.

Definition at line 90 of file nsNSSIOLayer.h.

Definition at line 99 of file nsNSSIOLayer.h.

Definition at line 93 of file nsNSSIOLayer.h.

Definition at line 107 of file nsNSSIOLayer.h.

Definition at line 82 of file nsNSSIOLayer.h.

Definition at line 119 of file nsNSSIOLayer.h.


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