コード例 #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.
     }
 }
コード例 #2
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.
     }
 }
コード例 #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.
     }
 }
コード例 #4
0
        public void reclaimOutgoing(Outgoing og)
        {
            _m.Lock();
            try
            {
                if (_connection == null)
                {
                    return;
                }
            }
            finally
            {
                _m.Unlock();
            }

            _connection.reclaimOutgoing(og);
        }
コード例 #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.
     }
 }
コード例 #6
0
        public void reclaimOutgoing(Outgoing og)
        {
            _m.Lock();
            try
            {
                if(_connection == null)
                {
                    return;
                }
            }
            finally
            {
                _m.Unlock();
            }

            _connection.reclaimOutgoing(og);
        }
コード例 #7
0
 public void reclaimOutgoing(Outgoing @out)
 {
     _connection.reclaimOutgoing(@out);
 }
コード例 #8
0
 public void reclaimOutgoing(Outgoing @out)
 {
     _connection.reclaimOutgoing(@out);
 }