NetMQ.Security.V0_1.SecureChannel.SecureChannel C# (CSharp) Method

SecureChannel() public method

Create a new SecureChannel with the given ConnectionEnd.
public SecureChannel ( ConnectionEnd connectionEnd ) : System
connectionEnd ConnectionEnd the ConnectionEnd that this channel is to talk to
return System
        public SecureChannel(ConnectionEnd connectionEnd)
        {
            m_handshakeLayer = new HandshakeLayer(this, connectionEnd);
            m_handshakeLayer.CipherSuiteChange += OnCipherSuiteChangeFromHandshakeLayer;

            m_recordLayer = new RecordLayer(m_protocolVersion);

            m_outgoingMessageBag = new OutgoingMessageBag(this);
        }