pike.git
/
lib
/
modules
/
SSL.pmod
/
Connection.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/SSL.pmod/Connection.pike:6:
//! This includes the @[Context] object (which doesn't change), various //! buffers, the @[Session] object (reused or created as appropriate), //! and pending read and write states being negotiated. //! //! Each connection will have two sets of read and write @[State]s: The //! current read and write states used for encryption, and pending read //! and write states to be taken into use when the current keyexchange //! handshake is finished. //! //! This object is also responsible for managing incoming and outgoing
-
//! packets.
Incomiong
packets are stored in queue objects and
parsed
-
//!
in
priority order.
+
//! packets.
Outgoing
packets are stored in queue objects and
sent in
+
//! priority order.
//! //! @note //! This class should never be created directly, instead one of the //! classes that inherits it should be used (ie either //! @[ClientConnection] or @[ServerConnection]) depending on whether //! this is to be a client-side or server-side connection. These in //! turn are typically created by @[sslfile()->create()]. //! //! @seealso //! @[ClientConnection], @[ServerConnection], @[Context],