Novell.Directory.Ldap.MessageAgent.sendMessage C# (CSharp) Method

sendMessage() private method

Send a request to the server. A Message class is created for the specified request which causes the message to be sent. The request is added to the list of messages being managed by this agent.
private sendMessage ( Novell.Directory.Ldap.Connection conn, LdapMessage msg, int timeOut, LdapMessageQueue queue, BindProperties bindProps ) : void
conn Novell.Directory.Ldap.Connection the connection that identifies the server. /// ///
msg LdapMessage the LdapMessage to send /// ///
timeOut int the interval to wait for the message to complete or /// null if infinite. ///
queue LdapMessageQueue the LdapMessageQueue associated with this request. ///
bindProps Novell.Directory.Ldap.Utilclass.BindProperties
return void
        internal void sendMessage(Connection conn, LdapMessage msg, int timeOut, LdapMessageQueue queue, BindProperties bindProps)
        {
            // creating a messageInfo causes the message to be sent
            // and a timer to be started if needed.
            Message message = new Message(msg, timeOut, conn, this, queue, bindProps);
            messages.Add(message);
            message.sendMessage(); // Now send message to server
            return ;
        }