The MessageVector class implements additional semantics to Vector needed for handling messages.
Inheritance: System.Collections.ArrayList
		private void  InitBlock()
		{
			writeSemaphore = new System.Object();
			encoder = new LBEREncoder();
			decoder = new LBERDecoder();
			stopReaderMessageID = CONTINUE_READING;
			messages = new MessageVector(5, 5);
			unsolicitedListeners = new System.Collections.ArrayList(3);
		}
Example #2
0
        private bool _waitForReplyRenamedField = true; // true if wait for reply

        internal Message(LdapMessage msg, int mslimit, Connection conn, MessageAgent agent, BindProperties bindprops)
        {
            _conn = conn ?? throw new ArgumentNullException(nameof(conn));

            _stackTraceCreation = Environment.StackTrace;
            _replies            = new MessageVector(5);
            Request             = msg;
            MessageAgent        = agent;
            _mslimit            = mslimit;
            MessageId           = msg.MessageId;
            _bindprops          = bindprops;
        }
Example #3
0
 private void  InitBlock()
 {
     messages = new MessageVector(5, 5);
 }
Example #4
0
 private void InitBlock()
 {
     replies = new MessageVector(5, 5);
 }