Otp.AbstractConnection.AbstractConnection C# (CSharp) Method

AbstractConnection() private method

private AbstractConnection ( OtpLocalNode self, OtpPeer peer, System s, string cookie ) : System
self OtpLocalNode
peer OtpPeer
s System
cookie string
return System
        private AbstractConnection(OtpLocalNode self, OtpPeer peer, System.Net.Sockets.TcpClient s, string cookie)
        {
            this.peer = peer;
            this.self = self;
            this.socket = s;
            this.auth_cookie = cookie ?? self._cookie;
            this.sentBytes = 0;
            this.receivedBytes = 0;
            this.maxPayloadLength = defaultMaxPayloadLength;
        }

Same methods

AbstractConnection::AbstractConnection ( ) : System
AbstractConnection::AbstractConnection ( OtpLocalNode self, OtpPeer other ) : System
AbstractConnection::AbstractConnection ( OtpLocalNode self, OtpPeer other, string cookie ) : System
AbstractConnection::AbstractConnection ( OtpLocalNode self, System s ) : System