public void Query( ServiceParameterBuffer spb, int requestLength, byte[] requestBuffer, int bufferLength, byte[] buffer) { // Clear the status vector this.ClearStatusVector(); int svcHandle = this.Handle; int reserved = 0; fbClient.isc_service_query( this.statusVector, ref svcHandle, ref reserved, (short)spb.Length, spb.ToArray(), (short)requestLength, requestBuffer, (short)buffer.Length, buffer); // Parse status vector this.ParseStatusVector(this.statusVector); }
public void Query( ServiceParameterBuffer spb, int requestLength, byte[] requestBuffer, int bufferLength, byte[] buffer) { ClearStatusVector(); int svcHandle = Handle; int reserved = 0; _fbClient.isc_service_query( _statusVector, ref svcHandle, ref reserved, spb.Length, spb.ToArray(), (short)requestLength, requestBuffer, (short)buffer.Length, buffer); ProcessStatusVector(_statusVector); }
public override Task Query( ServiceParameterBuffer spb, int requestLength, byte[] requestBuffer, int bufferLength, byte[] buffer, AsyncWrappingCommonArgs async) { ClearStatusVector(); var svcHandle = Handle; var reserved = 0; _fbClient.isc_service_query( _statusVector, ref svcHandle, ref reserved, spb.Length, spb.ToArray(), (short)requestLength, requestBuffer, (short)buffer.Length, buffer); ProcessStatusVector(_statusVector); return(Task.CompletedTask); }