Example #1
0
 public Ice.ConnectionI sendRequest(Outgoing @out)
 {
     if (!_connection.sendRequest(@out, _compress, _response) || _response)
     {
         return(_connection); // The request has been sent or we're expecting a response.
     }
     else
     {
         return(null); // The request hasn't been sent yet.
     }
 }
 public Ice.ConnectionI sendRequest(Outgoing @out)
 {
     if(!_connection.sendRequest(@out, _compress, _response) || _response)
     {
         return _connection; // The request has been sent or we're expecting a response.
     }
     else
     {
         return null; // The request hasn't been sent yet.
     }
 }
Example #3
0
 public Ice.ConnectionI sendRequest(Outgoing @out)
 {
     Ice.ConnectionI connection = getConnection(true);
     Debug.Assert(connection != null);
     if (!connection.sendRequest(@out, _compress, _response) || _response)
     {
         return(_connection); // The request has been sent or we're expecting a response.
     }
     else
     {
         return(null); // The request hasn't been sent yet.
     }
 }
Example #4
0
        public void reclaimOutgoing(Outgoing og)
        {
            _m.Lock();
            try
            {
                if (_connection == null)
                {
                    return;
                }
            }
            finally
            {
                _m.Unlock();
            }

            _connection.reclaimOutgoing(og);
        }
Example #5
0
 public Ice.ConnectionI sendRequest(Outgoing @out)
 {
     Ice.ConnectionI connection = getConnection(true);
     Debug.Assert(connection != null);
     if(!connection.sendRequest(@out, _compress, _response) || _response)
     {
         return _connection; // The request has been sent or we're expecting a response.
     }
     else
     {
         return null; // The request hasn't been sent yet.
     }
 }
Example #6
0
        public void reclaimOutgoing(Outgoing og)
        {
            _m.Lock();
            try
            {
                if(_connection == null)
                {
                    return;
                }
            }
            finally
            {
                _m.Unlock();
            }

            _connection.reclaimOutgoing(og);
        }
 public void reclaimOutgoing(Outgoing @out)
 {
     _connection.reclaimOutgoing(@out);
 }
Example #8
0
 public void reclaimOutgoing(Outgoing @out)
 {
     _connection.reclaimOutgoing(@out);
 }